ended7월 26일· 1 sources

JavaScript Type Coercion — Output-Based Questions ([] + [], NaN === NaN & Friends)

Why it matters

After hoisting, interviewers love dropping one-liners like: console.log([] + []); console.log([] + {}); console.log({} + []); console.log(NaN === NaN); …and watching whether you guess, freeze, or calm...

1
Sources
+0
24h
Growth
57d
Active

Sources

Related Issues