Tell us what’s happening:
Describe your issue in detail here.
Your code so far
// Setup
const myArray = [["John", 23], ["dog", 3]];
// Only change code below this line
//This is my code:
const removedFromArray = myArray.shift();
console.log(removedFromArray);
console.log(myArray);
//This is my output when I run the code:
// running tests
removedFromMyArray should contain ["John", 23].
// tests completed
// console output
[ 'John', 23 ]
[ [ 'dog', 3 ] ]
//what's wrong with this picture???
/* Challenge is indicating (X)removedFromArray should contain ["John", 3] ,
does it have something to do with the double quotes? because I'm selecting dbl quotes but single ones keep coming out, don't know how to get the dbl quotes..
Help, anyone!!Thank you in advance. */
**Your browser information:**
User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15</code>
**Challenge:** Basic JavaScript - Manipulate Arrays With shift()
**Link to the challenge:**
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/manipulate-arrays-with-shift