Skip to content

add variables not used - #1

Open
WDRevAI wants to merge 1 commit into
masterfrom
change_reda_1
Open

WDRevAI wants to merge 1 commit into
masterfrom
change_reda_1

Conversation

@WDRevAI

@WDRevAI WDRevAI commented May 20, 2024

Copy link
Copy Markdown
Owner

No description provided.

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

Code looks good


function randomNumber (l) {
return Math.floor(Math.random() * l);
let y = Math.floor(Math.random() * l);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Change the Y variabel to a constant

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

Reda Please check this

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

14 similar comments
@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

let y = Math.floor(Math.random() * l);

let z = Math.floor(Math.random() * y);
return y;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

comment here

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

let y = Math.floor(Math.random() * l);

let z = Math.floor(Math.random() * y);
return y;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

I think this should be z = Math.random() * l

let y = Math.floor(Math.random() * l);

let z = Math.floor(Math.random() * y);
return y;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

I think this should be z = Math.random() * l

let y = Math.floor(Math.random() * l);

let z = Math.floor(Math.random() * y);
return y;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

I think this should be z = Math.random() * l

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

1 similar comment
@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good

let y = Math.floor(Math.random() * l);

let z = Math.floor(Math.random() * y);
return y;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Unnecessary whitespace change

@WDRevAI

WDRevAI commented May 23, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
code looks good


function randomNumber (l) {
return Math.floor(Math.random() * l);
let y = Math.floor(Math.random() * l);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Unnecessary whitespace change

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant