Skip to content

Comments

Use arrow functions for anonymous functions where possible (part #6)#19186

Merged
Josh-Cena merged 162 commits intomdn:mainfrom
teoli2003:function-arrow-6
Aug 8, 2022
Merged

Use arrow functions for anonymous functions where possible (part #6)#19186
Josh-Cena merged 162 commits intomdn:mainfrom
teoli2003:function-arrow-6

Conversation

@teoli2003
Copy link
Contributor

@teoli2003 teoli2003 commented Aug 5, 2022

Arrow functions are shorter and easier to read (but don't bind this).

@github-actions github-actions bot added the Content:WebAPI Web API docs label Aug 5, 2022
@github-actions

This comment was marked as resolved.

@teoli2003 teoli2003 requested a review from Josh-Cena August 8, 2022 10:40
@teoli2003
Copy link
Contributor Author

I think I have handled all review comments here.

@teoli2003 teoli2003 requested a review from Josh-Cena August 8, 2022 14:46
@teoli2003
Copy link
Contributor Author

I think this is ready to land.

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Yup—I was just AFK for dinner (at 10pm). All boxes are ticked for me.

@Josh-Cena
Copy link
Member

Josh-Cena commented Aug 8, 2022

Tangentially related @teoli2003 I noticed when you click "commit suggestion" in the GitHub UI these days, the change is not always committed, and it sometimes is just silently marked as resolved without changes. I've caught that a few times.

@Josh-Cena Josh-Cena merged commit fadf814 into mdn:main Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants