If you ever need to condense a multi-dimensional array of values into a single list of values, the Array flat( ) method is what you need.

#java #javascript #array #arrays

Using the Array flat method
1.30 GEEK