4 ms·
And if we set x=[0], then x==x is true and x!=x is also true... And []+[] = "" And []+{} = [object Object] And {}+[] = 0 And {}+{} = NaN
by cheeze 8y ago
And if we set x=[0], then x==x is true and x!=x is also true...
And []+[] = ""
And []+{} = [object Object]
And {}+[] = 0
And {}+{} = NaN