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.