Skip to content

Instantly share code, notes, and snippets.

View Ellyria's full-sized avatar

Ellyria Ellyria

  • New York
View GitHub Profile
@revisualize
revisualize / FreeCodeCamp - Nesting For Loops.js
Last active May 25, 2017 20:14
Challenge discussion for FreeCodeCamp.com - Nesting For Loops challenge: https://www.freecodecamp.com/challenges/nesting-for-loops
/* FreeCodeCamp - Nesting For Loops Challenge.
Total: 75 Lines on Gist.
Before we get into the challenge instructions and process,
I'd like to have an extended review for Accessing Complex Arrays &
iterating across arrays using for loops. Then we'll move into the complex arrays.
For this process, let's first create an array:
var arr = ["B", "D", "F", "H", "J", "L"]; // Even letters.
To access "B" we use arr[0]; and "J" is arr[4];