In JavaScript, consider the statement: SubscriptionCost = new Array(3); Which…
NVS Computer Science / IT Teacher Recruitment · Computer Science · 2022
In JavaScript, consider the statement:
SubscriptionCost = new Array(3);
Which statement is incorrect about the above statement?
- A.
It creates an array whose length is initially 3
- B.
It creates a fixed-size array of 3 elements that cannot be resized
- C.
The initial valid index positions are 0, 1, and 2
- D.
The array can later grow beyond length 3 if values are assigned or elements are added
Attempted by 502 students.
Sign up free to check your answer
Sign up freeLoading lesson…