JavaScript Type Coercion — Output-Based Questions ([] + [], NaN === NaN & Friends)
🔒
https://dev.to
«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 calmly walk the...»
Automatische Weiterleitung...
1.5s