After hoisting, interviewers love dropping one-liners like:
console.log([] + []);
console.log([] + {});
console.log({} + []);
console.log(NaN === NaN);
Predict-the-output questions on + with arrays/objects, NaN equality, == vs ===, and the classic coercion traps that show up in JS / React / React Native interviews.
After hoisting, interviewers love dropping one-liners like:
console.log([] + []);
console.log([] + {});
console.log({} + []);
console.log(NaN === NaN);

50 Guess-the-Output challenges for React Native interviews — hoisting, closures, this, coercion, Promises, async/await, and the…

191 output-based JavaScript interview questions on hoisting, arrays, objects, functions, conditions, closures, Promises, and the…

30 JavaScript code-output interview challenges covering scope, arrays, objects, functions, async behavior, and React Native…

Compiler says OK. Runtime explodes anyway. Here are the 4 patterns where strict null checks isn't enough: assertion functions,…

75 React Native and JavaScript coding interview questions on arrays, strings, hooks, async patterns, lists, caching, and native…

12 Tricky TypeScript Questions That Separate Good Developers From Great Ones Short, sharp,...