Javascript – Node JS: Loop round grouped by array
I've got data like this [ [ '@test','1.2.6-unstable' ], [ '@test','1.3.2-unstable' ], [ '@test','1.4.6-unstable' ], [ '@test2','4.0.1-unstable' ], [ '@test2','4.0.2-unstable' ], [ '@test2','4.0.3-unstable' ], [ '@test3','2.2.0-unstable' ], [ '@test3','2.2.3-unstable' ], [ '@test3','2.2.9-unstable' ], ... ] and I'm trying to group…