-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't define prototype on arrow functions
Summary: Functions defined with the arrow syntax should not have a `prototype` defined on them, as they cannot be used as constructors. Reviewed By: avp Differential Revision: D42178843 fbshipit-source-id: 7031f9e43b92cd6aa3698866025a02e775202f39
- Loading branch information
1 parent
d0398d2
commit c42491d
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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