JS 移除对象值
2021-01-02 23:29
阅读:573
标签:table data pre 对象 led color rgb delete nbsp JS 移除对象值 标签:table data pre 对象 led color rgb delete nbsp 原文地址:https://www.cnblogs.com/siyunianhua/p/13656649.html
var extTableData={};
//移除不需要传递的值
for (var a in extTableData) {
if (sParamsTableName.indexOf(a) == -1) {
delete extTableData[a];
}
}
评论
亲,登录后才可以留言!