Question: Question 8 ( 1 point ) What is true about the following code? const foo = [ 4 5 , 3 5 , 2 5
Question point
What is true about the following code?
const foo ;
;
foo "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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
