mirror of https://github.com/boa-dev/boa.git
Browse Source
This Pull Request fixes/closes the incorrect message thrown for the following code: ```javascript "use strict"; foo = "bar"; ``` Which would throw the following before the change (incorrect): `Uncaught "ReferenceError": "binding already exists: foo"` And would throw the following after the change (correct): `Uncaught "ReferenceError": "assignment to undeclared variable foo"`pull/1856/head
Aäron Munsters
3 years ago
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue