DEV Community

Discussion on: Useful JS functions you aren't using: Array.map

Collapse
 
llexical profile image
Lizzie

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!