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
Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.
Mike Young -
Mike Young -
Mike Young -
Mike Young -
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.