remove Number from the list of valid runtime constructors - fixes #981

This commit is contained in:
Sebastian McKenzie 2015-03-10 03:27:13 +11:00
parent 1302a86bf2
commit 20eb143915
2 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,7 @@ See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
* **Bug Fix**
* Rewrite named function expressions in optional async function transformers.
* Hoist directives.
* Remove `Number` from the list of valid `runtime` constructors.
* **Internal**
* `spec.typeofSymbol` transformer has been renamed to `es6.symbols`.

View File

@ -16,8 +16,7 @@ var ALIASABLE_CONSTRUCTORS = [
"Map",
"WeakMap",
"Set",
"WeakSet",
"Number"
"WeakSet"
];
var astVisitor = {