Day 4: JavaScript Challenge
I have to do it on and on until I get it. Never underestimate the power of JavaScript’s Array!
In this challenge, there’s no interesting thing like manipulating the DOM or whatsoever. It’s purely intellectual journey towards JavaScript’s Array mastery. Here’s the demo and the repo.
Every time you reload the page, please open the console and see the result of my work. You have to redo the challenge until you really get it. It’s really hard, especially reduce method. My first attempt is awful but the next 10th attempt is awesome (kidding).