Q. What will be the result of typeof []?

  • (A) object
  • (B) array
  • (C) list
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (A) object
Explanation: typeof [] returns 'object', because arrays are objects in JavaScript.
Explanation by: Mr. Dubey
typeof [] returns 'object', because arrays are objects in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate