js 对象的键值对添加-爱忘记上吧 let obj = { id:1,name:2};obj['dat'] = 3;console.log(obj.dat , 1);转载于:https://www.cnblogs.com/hr-cmbc/p/11277704.html php 2024-01-17 162 点赞 2 评论 245 浏览