Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Wm4-javascript-core1-Emeka-week3 - #97

Open
Emeka1993 wants to merge 1 commit into
CodeYourFuture:mainfrom
Emeka1993:main
Open

Wm4-javascript-core1-Emeka-week3#97
Emeka1993 wants to merge 1 commit into
CodeYourFuture:mainfrom
Emeka1993:main

Conversation

@Emeka1993

Copy link
Copy Markdown

No description provided.

// Change the below code to use a for loop instead of a while loop.
let i = 0;
while(i < 26) {
for (let i = 0; i < 26; i++) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is your for loop nested inside the while loop? How come you have done it like this?

function evenNumbers(n) {
// TODO
}
let arrayOfEvenNumbers = [];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, Emeka I hope you are ok, I reviewed your answer and it is correct and functional.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants