MCQs > IT & Programming > JavaScript > What is a potential pitfall with using typeof bar === 'object' to determine if bar is an object?

JavaScript MCQs

What is a potential pitfall with using typeof bar === "object" to determine if bar is an object?

Answer

Correct Answer: null is also considered an object.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it