-
-
Notifications
You must be signed in to change notification settings - Fork 121
Done all tasks #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Done all tasks #17
Conversation
Exercises/2-for-of.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i is not a good naming for array element, it means index in array but here is i isn't an index
Exercises/4-do-while.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better put it in a single line: } while (i < args.length);
Exercises/4-do-while.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having counter and not using pop/shift is much better for performance 👍
Exercises/6-matrix.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expression matrix[i][j] repeated twice, and we have additional matrix[i] in line 6. See my solution to optimize code.
Exercises/6-matrix.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can name variable as a function but it will be better to use different name.
Exercises/7-ages.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exercises/7-ages.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use different variable name
@tshemsedinov
tshemsedinov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
2759b95 to
0d1399f
Compare
No description provided.