Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript Remove Element from Outer Array

// remove the array element from outer array
let studentsData = [['Jack', 24], ['Sara', 23],];
studentsData.pop();

console.log(studentsData); // [["Jack", 24]]
 
PREVIOUS NEXT
Tagged: #javascript #Remove #Element #Outer #Array
ADD COMMENT
Topic
Name
4+6 =