Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions 03/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ let iteration = 0;
let randomNumber = -1;

while (x !== randomNumber) {
const number = Math.round(Math.random() * x);
randomNumber = number;
randomNumber = Math.round(Math.random() * x);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

iteration++;
}

Expand Down