Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try evaluating code with parentheses before without parentheses, closes
#356. (#357) The problem with evaluating without parentheses first is that named function declarations are valid expressions that return undefined (whereas evaluating with parentheses returns the function, as expected). It's true there may be weird corner-cases where switching this order leads to something else that's undesirable, but we've been operating with the 'with parentheses' model for so long that switching the ordering now will minimize backward-compatibility issues
- Loading branch information