Patel Akash

Patel Akash

  • NA
  • 286
  • 7.6k

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)