This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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]; |