sir if a data is declared as a constant that means it will cannot be changed.but in Javascript course “Modify Array Data With Indexes”
Array is declared as a constant but still it is changes/modifying indexes…
Your code so far
// Setup
const myArray = [18, 64, 99];
// Only change code below this line
myArray[0]=[45];
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14388.61.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.107 Safari/537.36