Consider the code snippet given below
var count = [1,,3];
What is the observation made?
A.The omitted value takes “undefined”
B.This results in an error
C.This results in an exception
D.None of the mentioned
Answers
Answered by
4
Hi there,
Option A is correct.
If you omit a value from an array literal, the omitted element is given the value.
Option A is correct.
If you omit a value from an array literal, the omitted element is given the value.
Answered by
0
_____✨ HEY MATE ✨_____
➡️ Option (A) The omitted value takes “undefined” is the right answer ✔️
➡️ Option (A) The omitted value takes “undefined” is the right answer ✔️
Similar questions
Science,
7 months ago
Social Sciences,
7 months ago
Biology,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Chemistry,
1 year ago
English,
1 year ago
Music,
1 year ago