查看JS Object对象信息
//假设_obj 是要查看的对象
var property = "";
for (var item in _obj ) {
property += "属性:" + item + "数值:" + _obj [item] + "\n";
}
console.log(property)
今天碰到的问题,顺便记录一下
转载自:https://blog.csdn.net/sinat_21813453/article/details/80267684