摘要:
There are two ways to access a property of an object:Using square bracket notation, for example hero['occupation']Using the dot notation, for example hero.occupation 阅读全文
posted @ 2012-03-28 20:46
.net's
阅读(312)
评论(0)
推荐(0)
摘要:
JavaScript uses arrays to represent indexed arrays and objects to represent associative arrays. If you want a hash in JavaScript, you use an object. 阅读全文
posted @ 2012-03-28 20:44
.net's
阅读(355)
评论(0)
推荐(0)

浙公网安备 33010602011771号