I did it like this:
// Setup
const myArray = [ ];
// Only change code below this line
for (let i = 1; i < 6; i++) {
myArray.push(i);
}
Looking at this, do you guys think I did okay?
I did it like this:
// Setup
const myArray = [ ];
// Only change code below this line
for (let i = 1; i < 6; i++) {
myArray.push(i);
}
Looking at this, do you guys think I did okay?
Hello there.
Do you have a question?
If so, please edit your post to include it.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.