Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

2d array to 1d array javascript

[[1, 2, 3], [4, 5, 6]].flat()
 
PREVIOUS NEXT
Tagged: #array #array #javascript
ADD COMMENT
Topic
Name
5+1 =