隐式转换成字符串?

149 阅读1分钟
var obj={id:ab}
//数字和字符串属于字符串拼接
1+{id:ab}
//console.log(obj.toString)
"1[object Object]"