DEV Community

Discussion on: Untangling Nested Code

Collapse
 
gonedark profile image
Jason McCreary

As noted, definitely take a look at the array or collection functions available. The code you posted looks like it is a native group or flatten function.