Learn Introductory JavaScript by Building a Pyramid Generator - Step 108

Tell us what’s happening:

You should call .shift() on your numbers array. problem in this
i have return correct code

Your code so far


// User Editable Region

const numbers = [1, 2, 3];

const shifted = numbers.shift();
console.log(numbers);
console.log(shifted);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 108

Welcome to the forum @gauravfagna417

For this step you are not asked to log numbers.

Happy coding