You don't (may not) need loops — JavaScript Loop Alternatives Guide | Open Awesome