JS 30 Day 4
Nothing too pretty here unless you think arrays are pretty... which I could get get on board with! Day 4 was a very informative episode that I will definitely have to watch and play around with a few times in order to fully understand.
Today was a series of 8 questions based around Array built in methods.
I got a refresher with ternary comparisons. Here is an example from MDN. This syntax paired up with an ES6 arrow function makes for some really slick one liners.
var elvisLives = Math.PI > 4 ? 'Yep' : 'Nope';
Maybe I will write more when I can explain these concepts better than the MDN docs. Until that happens this is it.
Here is the source for day 4.