js对象中插入字符串

js对象中插入字符串

var str = "abcdac"var obj = {}for(var i=0i&ltstr.lengthi++){console.log(str[i])改为如下即可,你需要先设置obj的str属性、然后
JavaScript150