向空对象添加数据以及for in 遍历

objectX[name] = value;//   相当于obectX.name = value;  向数组添加数据.

 

posted @ 2017-02-22 17:43  剑阁王者  阅读(1164)  评论(0编辑  收藏  举报