Equal
2022年5月1日小于 1 分钟
Equal
Question
What does the code snippet to the right output by console.log
?
Snippet
console.log(0 == false)
console.log('' == false)
console.log([] == false)
console.log(undefined == false)
console.log(null == false)
console.log('1' == true)
console.log(1n == true)
console.log(' 1 ' == true)