for(const key in text){
if(object.prototype.hasOwnProperty.call(text,key)&&typeof text[key]!=='undefined'){
const needobj = text[key]
}
}
对象循环遍历
猜你喜欢
转载自blog.csdn.net/weixin_43979503/article/details/123012684
今日推荐
周排行