const array = ['John','Peter','Staeve'];
const popp = array.pop();
console.log(popp) ?????
For further actions, you may consider blocking this person and/or reporting abuse
const array = ['John','Peter','Staeve'];
const popp = array.pop();
console.log(popp) ?????
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
It's to remove the the last item added to your array. Even if you do not know the value or location in memory of that last item.