这是有效的,并返回"10"JavaScript中的字符串(此处更多示例):
"10"
console.log(++[[]][+[]]+[+[]])
为什么?这里发生了什么?
javascript syntax
javascript ×1
syntax ×1