A programmer expects the following JavaScript code to update an array but it does not:const arr = [1, 2, 3]; arr = [4, 5, 6];.What is the mistake? - Study24x7
Social learning Network
2 followers study24x7 05 Jul 2024 01:28 PM study24x7 study24x7

A programmer expects the following JavaScript code to update an array but it does not:
See more

A

Attempting to reassign a constant array

B

Incorrect syntax for array update

C

Using the wrong data type

D

None of the above

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles