Basic JavaScript - Manipulate Arrays With pop Method

Tell us what’s happening:

Describe your issue in detail here.
const removedFromArray = myArray.pop();

Your code so far

// Setup
const myArray = [["John", 23], ["cat", 2]];

// Only change code below this link
const removedFromArray = myArray.pop();

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; vivo 1921) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36

Challenge Information:

Basic JavaScript - Manipulate Arrays With pop Method

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.