Thread:SpongeJr/@comment-27144096-20160129020240

"Learn Your Arrays" by SpongeJr

Arrays are great, once you get them mastered They'll help you code powerful programs much faster. So you should take the time to find out how. You Can Learn Anything, so let's start right now! Instead of typing code out 'til you're old and grey, You can start saving variables and use an array!

Suppose you wanted to store about a hundred things, Doesn't matter what-- they could be numbers, objects, or strings. You could start off with  var a = 1, and var b is two, and so on, <span class="details" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size: 13px; line-height: 18.2px; font-family: 'Proxima Nova', Montserrat, 'Open Sans', 'Gill Sans MT', 'Gill Sans', Corbel, Arial, sans-serif; vertical-align: baseline; color: rgb(68, 68, 68); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline-block; ">until you're done. But you'll quickly realize you'll run out of letters. Fortunately, arrays help you do it all better.

You could output the contents in fairly short time, With a simple for loop, that counts up 0 to 99. Use the loop control variable as the index of your array And you'll save yourself from typing out lines all day. Just pop it in between those two square brackets The concept's a little tricky, but I know you can crack it!  