Nep19
1
Tell us what’s happening:
Describe your issue in detail here.
I can’t get the result
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
system
2
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.
ILM
3
Use the right variable name
assign the popped off value to a new variable, removedFromMyArray
.
you have removedFromArray
instead of removedFromMyArray
system
Closed
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.