Computer Science, asked by aarzo497, 1 year ago

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 Avanish010
4
Hi there,

Option A is correct.

If you omit a value from an array literal, the omitted element is given the value.
Answered by Anonymous
0
_____✨ HEY MATE ✨_____

➡️ Option (A) The omitted value takes “undefined” is the right answer ✔️

<marquee>✌️ I THINK IT HELPED YOU ✌️
Similar questions