18 Types & Coercion questions from the JavaScript bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Sign up free to see every answer with its explanation and ask the AI tutor.
B.a historical bug where typeof returns 'object' for null
C.the values false, 0, '', null, undefined, NaN and 0n — everything else is truthy
D.a numeric value meaning 'not a number'; NaN !== NaN, so Number.isNaN is used to test for it
Answer + AI explanation with a free account
14. Which term means: "the values false, 0, '', null, undefined, NaN and 0n — everything else is truthy"?
Junior
A.typeof null
B.== vs ===
C.Primitive types
D.Falsy values
Answer + AI explanation with a free account
15. Which statement is correct?
Junior
A.Falsy values — the values false, 0, '', null, undefined, NaN and 0n — everything else is truthy
B.Falsy values — == coerces operands to a common type before comparing; === compares value and type with no coercion
C.Falsy values — a historical bug where typeof returns 'object' for null
D.Falsy values — the 7 immutable value types: string, number, boolean, null, undefined, symbol, bigint
Answer + AI explanation with a free account
16. What is Symbol?
Mid
A.== coerces operands to a common type before comparing; === compares value and type with no coercion
B.a unique immutable primitive, typically used as a non-colliding object property key
C.a historical bug where typeof returns 'object' for null
D.the values false, 0, '', null, undefined, NaN and 0n — everything else is truthy
Answer + AI explanation with a free account
17. Which term means: "a unique immutable primitive, typically used as a non-colliding object property key"?
Mid
A.Symbol
B.Falsy values
C.Primitive types
D.== vs ===
Answer + AI explanation with a free account
18. Which statement is correct?
Mid
A.Symbol — a numeric value meaning 'not a number'; NaN !== NaN, so Number.isNaN is used to test for it
B.Symbol — a unique immutable primitive, typically used as a non-colliding object property key
C.Symbol — the 7 immutable value types: string, number, boolean, null, undefined, symbol, bigint
D.Symbol — the values false, 0, '', null, undefined, NaN and 0n — everything else is truthy
Answer + AI explanation with a free account
Free to start
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.