In the previous article, we suggested that indentation is an (extremely rough) indicator of complexity. Our goal is to write less complex JavaScript. We do this by choosing the right abstraction to solve a problem. But how do you know which abstraction to use? So far, we haven’t looked at any concrete examples of how to do this. In this article we look at how to deal with JavaScript arrays, withou
![JavaScript Without Loops](https://cdn-ak-scissors.b.st-hatena.com/image/square/a10b9d4cd66e1c8f5d09ab0643e3c079fd11aad0/height=288;version=1;width=512/https%3A%2F%2Fjrsinclair.com%2Fassets%2Fjavascript-without-loops-twitter.png)