DEV Community

Discussion on: What’s new in Javascript?

Collapse
 
genta profile image
Fabio Russo

Hm... using arr.flat().includes(something) to find into nested arrays without using recursion.
Dunno, just the first usecase jumped into my mind.