W3C菜鸟教程(w3cdata.com)

有两种方式可以访问对象属性:

你可以使用 .property 或 ["property"].