Step 38 You should see the numbers zero through seven printed in your console, one per line. This will serve as the foundation for generating your pyramid

Step 38

You should see the numbers zero through seven printed in your console, one per line. This will serve as the foundation for generating your pyramid.

Replace your log statement with a statement to push i to your rows array.

for (let i = 0; i < count; i = i + 1) {i .push[i]

}

Check Your Code (Ctrl + Enter)

Sorry, your code does not pass. Try again.

You should call .push() on your rows array.

You’re should be using the push method on the rows array. You’re trying to push to i (which is not an array).