Q. What is the output?

Code:
console.log(typeof []);
  • (A) object
  • (B) array
  • (C) list
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (A) object
Explanation: Arrays are technically objects in JavaScript.
Explanation by: Chandani
Arrays are technically objects in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
74
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
87%
Success Rate