js 语法

avascript的对象属性和方法,可以用"."或"[]"调用
例如
document.body == document['body'] //结论为true

原文地址:https://www.cnblogs.com/newlangwen/p/4728018.html