scrimba
Learn Basic JavaScript
Use Bracket Notation to Find the Nth Character in a String
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

Use Bracket Notation to Find the Nth Character in a String
AboutCommentsNotes
Use Bracket Notation to Find the Nth Character in a String
Expand for more info
index.js
run
preview
console
// Example
var firstName = "Ada";
var secondLetterOfFirstName = firstName[1];

// Setup
var lastName = "Lovelace";

// Only change code below this line.
var thirdLetterOfLastName = lastName;

Console
index.html
-0:25