= = Comparison (value comparison)
|
Null |
‘‘ |
0 |
' 0 ' |
Undefined |
NaN |
False |
[] |
{} |
Null |
t |
F |
F |
F |
t |
F |
F |
F |
F |
" |
F |
t |
t |
F |
F |
t |
t |
F |
0 |
F |
t |
Span style= "COLOR: #ff0000" >t |
t |
F |
F |
t |
t |
F |
' 0 ' |
F |
F |
t |
t |
F |
F |
t |
F |
F |
Undefined |
T |
F |
F |
F |
T |
F |
F |
F |
F |
NaN |
F |
F |
F |
F |
F |
F |
F |
F |
F |
false |
F |
t |
t |
t |
F |
F |
t |
t |
F |
[] |
F |
t |
t |
F |
F |
t |
F |
F |
{} |
F |
F |
F |
F |
F |
F |
F |
F |
F |
! Non-judgmental
Null |
‘‘ |
0 |
' 0 ' |
Undefined |
NaN |
False |
[] |
{} |
T |
T |
T |
F |
T |
T |
T |
F |
F |
If judgment
null |
" |
0 |
' 0 ' |
undefined |
NaN |
false |
[] |
{} |
f |
F |
F |
t |
F |
F |
F |
t |
t |
= = = Comparison (value comparison && type comparison)
|
Null |
‘‘ |
0 |
' 0 ' |
Undefined |
NaN |
False |
[] |
{} |
Null |
t |
  |
  |
  |
|
  |
  |
  |
|
" |
|
t |
  |
", |
  |
  |
  |
, |
|
0 |
|
  |
t |
  |
|
  |
  |
  |
|
' 0 ' |
|
  |
  |
Span style= "COLOR: #ff0000" >t |
|
  |
  |
  |
|
undefined |
|
  |
  |
Span style= "COLOR: #ff0000" >  |
t |
  |
  |
  |
|
NaN |
|
  |
  |
Span style= "COLOR: #ff0000" >  |
|
f |
  |
  |
|
false |
|
  |
  |
Span style= "COLOR: #ff0000" >  |
|
  |
t |
  |
|
[] |
|
  |
  |
  |
|
  |
  |
f |
  |
{} |
|
|
|
|
|
|
|
|
F |
typeof
Null |
‘‘ |
0 |
' 0 ' |
Undefined |
NaN |
False |
[] |
{} |
Object |
String |
Number |
String |
Undefined |
Number |
Boolean |
Object |
Object |
JS Truth table