object loop through

for(const key in text){
    
    
	if(object.prototype.hasOwnProperty.call(text,key)&&typeof text[key]!=='undefined'){
    
    
		const needobj = text[key]
}
}

Guess you like

Origin blog.csdn.net/weixin_43979503/article/details/123012684