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