forked from dop251/goja
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REALMC-11535: add destructuring, rest, spread, default functions (#45)
* Avoid calling iterator's return method again when it throws * Fixed dynamic variable resolution when a parent lexical binding exists * Support dereferencing in ExportTo(). Closes dop251#300 * Removed the mention of the es6 branch, updated the section about new features development. * Destructuring assignments, rest and spread properties, default function parameters (dop251#303) * Fixed argument variable reference resolution in stashless functions * Fixed binding order for global function declarations when there are duplicate names. Fixes dop251#344. * Make sure variables dynamically bound in parameter scope conflict with parameter bindings. See dop251#305. * Fixed setting the stack pointer in enterFuncBody. Fixes dop251#309 * Support for assignment patterns in for-in and for-of loops. Support for spread elements in call arguments. Fixed various issues related to destructuring assignments. See dop251#305.
- Loading branch information
Showing
23 changed files
with
3,256 additions
and
572 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
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
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
Oops, something went wrong.