scrimba
Learn Basic JavaScript
Modify Array Data With Indexes
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Modify Array Data With Indexes
AboutCommentsNotes
Modify Array Data With Indexes
Expand for more info
index.js
run
preview
console
// Example
var ourArray = [18,64,99];
ourArray[1] = 45; // ourArray now equals [18,45,99].

// Setup
var myArray = [18,64,99];

// Only change code below this line.

Console
50
,
index.html
-1:10