This file contains hidden or 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
// -----Loops----- // | |
/* For loops are great tools for iterating over individual elements within an array | |
to work with them. A for loop has three sections within its proceeding parentheses: an | |
initialization, conditional statement, and a final expression. The initialization phase | |
usually declares a variable. The conditional statement phase tells the loop when to stop, | |
and the final expression performs an action at the end, usually incrementing or | |
decrementing a counter: */ | |
"use strict"; |
OlderNewer