-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass null to raise instead of an empty object
Pass null instead of an empty object to raise an error at the current lexer position (instead of a specific token). This may improve performance, especially on unsophisticated JS engines; passing a null value should incur less overhead than constructing an entire object on the heap.
- Loading branch information
Showing
1 changed file
with
24 additions
and
24 deletions.
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