Separate array of arrays into arrays
Let's say you have an array of arrays like this:
[ ['one', 1], ['two', 2], ['three', 3] ]
and what you want are two arrays that are:
['one', 'two', 'three']
[1, 2, 3]
How do you do that?
Array looping - maps and filters
All you have to do is to loop ...
blog.nicm42.me.uk2 min read