Q45
Which of the following is a correct way to declare a constant array in JavaScript?
A.
const array = [1, 2, 3];
AnswerB.
constant array = [1, 2, 3];
C.
array = constant [1, 2, 3];
D.
array.constant = [1, 2, 3];
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board