scrimba
Learn Basic JavaScript
Access 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

Access Array Data with Indexes
AboutCommentsNotes
Access Array Data with Indexes
Expand for more info
index.js
run
preview
console
// Example
var ourArray = [50,60,70];
var ourData = ourArray[0]; // equals 50

// Setup
var myArray = [50,60,70];

// Only change code below this line.
Console
"The big dog ran to the store quickly."
,
"The slow bike flew to the store slowly."
,
index.html
-0:58