pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/airbnb/javascript/pull/3222

et" href="https://github.githubassets.com/assets/actions-902e75f4f51a80db.css" /> Docs: clarify exceptions for traditional functions by Developer-shivamMishra · Pull Request #3222 · airbnb/javascript · GitHub
Skip to content

Docs: clarify exceptions for traditional functions#3222

Draft
Developer-shivamMishra wants to merge 1 commit intoairbnb:masterfrom
Developer-shivamMishra:clarify-traditional-functions
Draft

Docs: clarify exceptions for traditional functions#3222
Developer-shivamMishra wants to merge 1 commit intoairbnb:masterfrom
Developer-shivamMishra:clarify-traditional-functions

Conversation

@Developer-shivamMishra
Copy link
Copy Markdown

Adds clarifications to Section 8.1 (Arrow Functions) on when traditional functions are preferred:

  • Function hoisting
  • Dynamic this binding (e.g., event handlers)
  • Access to arguments object

Includes short examples. Complements the arrow function recommendation without weakening it.

Comment thread README.md
@@ -1,6 +1,6 @@
# Airbnb JavaScript Style Guide() {

*A mostly reasonable approach to JavaScript*
_A mostly reasonable approach to JavaScript_
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please revert all unrelated style changes

@ljharb ljharb marked this pull request as draft April 16, 2026 05:37
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.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy