Q. What will be logged?
Code:
console.log(typeof undefined === typeof null);
β
Correct Answer: (B)
false
Explanation: typeof undefined is 'undefined', typeof null is 'object'.