{{ message }}
Update README file - Extend explanations, fix formatting mistakes and expand examples#2938
Draft
bstashchuk wants to merge 13 commits intoairbnb:masterfrom
Draft
Update README file - Extend explanations, fix formatting mistakes and expand examples#2938bstashchuk wants to merge 13 commits intoairbnb:masterfrom
bstashchuk wants to merge 13 commits intoairbnb:masterfrom
Conversation
bstashchuk
commented
Mar 7, 2024
bstashchuk
commented
Mar 7, 2024
bstashchuk
commented
Mar 7, 2024
bstashchuk
commented
Mar 7, 2024
ljharb
requested changes
Mar 7, 2024
bstashchuk
commented
Mar 7, 2024
Author
bstashchuk
left a comment
There was a problem hiding this comment.
Thanks for the quick feedback @ljharb
I hope we will be able to incorporate few of my changes.
ljharb
reviewed
Mar 8, 2024
Author
ljharb
reviewed
Mar 10, 2024
ljharb
reviewed
Mar 10, 2024
bstashchuk
commented
Mar 10, 2024
bed075e to
352c3db
Compare
Author
|
Hi @ljharb , |
352c3db to
891cff2
Compare
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
891cff2 to
396251f
Compare
anandfresh
approved these changes
Sep 29, 2024
ljharb
requested changes
Sep 30, 2024
ljharb
reviewed
Dec 12, 2024
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
ljharb
requested changes
Apr 16, 2026
Comment on lines
+1503
to
+1514
| sum === 15; // true | ||
|
|
||
| // good | ||
| let sum = 0; | ||
| numbers.forEach((num) => { | ||
| sum += num; | ||
| }); | ||
| sum === 15; | ||
| sum === 15; // true | ||
|
|
||
| // best (use the functional force) | ||
| const sum = numbers.reduce((total, num) => total + num, 0); | ||
| sum === 15; | ||
| sum === 15; // true |
|
|
||
| // bad | ||
| function foo() { | ||
| bar = 10; // bar will appear in the global scope |
Collaborator
There was a problem hiding this comment.
only in sloppy mode; worth calling out.
Collaborator
There was a problem hiding this comment.
please revert this; http://es6-features.org is now some kind of russian ad site.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

I am author of few JavaScript courses on Udemy.
While recording new JavaScript course I used AirBnb Style Guide in one of the sections and noticed few ways for improvements.