JavaScript push()

向一个数组中添加对象

var _arr = [], _id = "id";
_arr.push({[_id]:""});


猜你喜欢

转载自blog.51cto.com/dd118/2122012
今日推荐