understanding Javascript weird not operator and empty arrays expression

后端 未结 0 1964
[愿得一人]
[愿得一人] 2020-12-07 08:04

I was preparing for an exam and found this (!+[]+[]+![]) expression and I\'m wondering why it is equal to "truefalse" in javascript ?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题