Question: Question 8 ( 1 point ) What is true about the following code? const foo = [ 4 5 , 3 5 , 2 5

Question 8(1 point)
What is true about the following code?
const foo =[45,35,25];
f[0]=123;
foo[0]= "this is also ok";
This is not allowed in JS
You cannot reassign a value as const is used
run time exception
You can change elements of array
 Question 8(1 point) What is true about the following code? const

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!