JavaScript30 - Day 12

By Camilla Krag Jensen naxoc |

Day 12 of #javascript30 is having fun with konami codes or whatever you want to be your secret code.

This lesson didn't introduce things that surprised me, but it had a very nice and precise use of .splice() that illustrates how it mutates the array instead of returning a new one. It is basically practicing what we learned in lesson 7 only it is slicing the array backwards. And you never become too good of a programmer to see examples using arrays.

Also. Many points for using the legendary Cornify!