Skip to content
Advertisement

I need to remove a single array within a 2d array and form associative array

I’m getting this in my post,

JavaScript

Required Output

JavaScript

Advertisement

Answer

This will do the trick. No explanation is needed. You can get it by going through the code.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement