re: Useful JS functions you aren't using: Array.map VIEW POST

FULL DISCUSSION
 

Really important: Array.[map | find | some | every | filter | reduce]() key functions to handling arrays in easy, readable ways. It saves you a lot of hassle and a lot of ugly loops!

code of conduct - report abuse