Patel Akash

Patel Akash

  • 1.6k
  • 220
  • 1.4k

Compare and Remove From Subarray

Nov 8 2019 11:15 PM
e.g 
var names = [["John", "Peter","Company"], ["Clark", "Harry",""], ["John", "Peter",""]];
 
i want to return below (skip the 2nd index (e.g - "Company") value from each array)
 
var names = [["John", "Peter","Company"], ["Clark", "Harry",""]]; 

Answers (1)