标签:style blog color ar div new log c
JS 对象:
var person = { firstname : "Bill", lastname : "Gates", age : 56 };
var person = new Object(); person.firstname = "Bill"; person.lastname = "Gates"; person.age = 56;
寻址方式:
var firstname = person.firstname; var firstname = person["firstname"];
标签:style blog color ar div new log c
原文地址:http://www.cnblogs.com/otfngo/p/3888942.html