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
English,
6 months ago
Science,
6 months ago
India Languages,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Chemistry,
1 year ago
English,
1 year ago
Music,
1 year ago