标签:javascript
1, var p1 = new Person()
var myOb = new Object(); myOb.name = ‘ttf‘; myOb.age = ‘21‘;
var p = { name: ‘ttf‘, age:21 };
【javascript总结】javascript对象的声明
原文地址:http://blog.csdn.net/ttf1993/article/details/45600587