Javascript have two types of options for
- == and !=
- === and !==
- === results as true
- !== results as false
- '' == '0' // false
- 0 == '' // true
- 0 == '0' // true
- false == 'false' // false
- false == '0' // true
- false == undefined // false
- false == null // false
- null == undefined // true
- ' \t\r\n ' == 0 // true
0 Comments