Q. Consider the code snippet given below
What is the observation made?

Code:
var count = [1,,3];
  • (A) The omitted value takes “undefined”
  • (B) This results in an exception
  • (C) This results in an error
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) The omitted value takes “undefined”

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
216
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Pradeep Sikarwar
Publisher
πŸ“ˆ
84%
Success Rate