<pre> <code>
//声明
var obj ={}
var obj2 = new Object{};
//对象操作
//修改/增加
obj[key] = value
obj.key = value
//访问
obj.key == obj[key]
//删除
delete obj;
</code>
<pre> <code>
//声明
var obj ={}
var obj2 = new Object{};
//对象操作
//修改/增加
obj[key] = value
obj.key = value
//访问
obj.key == obj[key]
//删除
delete obj;
</code>