Initializing Arrays In JavaScript WITHOUT Using Loops
For fun and relaxation, I sometimes work on coding puzzles at sites like HackerRank (here’s a good summary of various coding challenge sites). Today I was working on what HackerRank calls “the staircase problem.” Basically, if you’re given some integer n, output a “staircase” of symbols that is n stair steps high. For example if n = […]