var a = 123+''; console.log(typeof a);//String
let nub = '6' - - '5'
console.log(nub) // 11 number
隐式类型转换,自己给自己挖坑
Sign in to make a reply
一库嘟