Use new Array instead of Array for V8 optimization (#6250)
* Use new Array instead of Array for V8 optimization * fix spacing [skip ci] * Remove extraneous use strict clauses
This commit is contained in:
committed by
Justin Ridgewell
parent
24713e5040
commit
e98bb3dc60
@@ -29,7 +29,7 @@ var Test = function Test() {
|
||||
|
||||
_classCallCheck(this, Other);
|
||||
|
||||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
||||
args[_key] = arguments[_key];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user