Tell us what’s happening:
Hi
Can anyone help me help me with this please? Although not part of the exercise, logged the second value of the array and am getting 64 printed twice?
Your code so far
// Setup
var myArray = [18,64,99];
// Only change code below this line
var newArray = myArray[1]
console.log(newArray)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36 Edg/88.0.705.56
.
Challenge: Modify Array Data With Indexes
Link to the challenge: