Breaking the Abstraction Down

Found this incredible loop on Stack Overflow while looking for an array method to shuffle my array. I was trying to do all of the above with basic iteration, but this is an incredible find. This is my little exercise: what do these elements of the loop do?

for Loops

3 Parts to a for loop: before the loop  var i = 0 , the condition for executing the loop  i < myAnimals.length , and what to do when the loop finishes i++ . The loop itself is the code block passed between { }. This will be executed for as long as the condition is true.

Day 1: Installfest

Today was the first day of WDI at General Assembly. Mostly we covered the groundwork: how to use Git, terminal (or command line), and barebones HTML. It was definitely worth it to do the pre-work, though I’m fairly familiar with all these things currently so it wasn’t too rough. Still, it helped me get a […]