DEV Community

Discussion on: What’s new in Javascript?

Collapse
 
ayudhkrgupta14 profile image
Ayudh Kumar Gupta

any possible usecases?

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.