Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: src/harmony-reflect.js

Issue 1065863003: Use array literals instead of array constructor in native javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase and fix Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/harmony-array-includes.js ('k') | src/harmony-tostring.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-reflect.js
diff --git a/src/harmony-reflect.js b/src/harmony-reflect.js
index f900d70f29ee1165f2622fb794b35bfc52bc0ed4..b9ea45fcc9c99d571ca76451a8b2f31d57aa5226 100644
--- a/src/harmony-reflect.js
+++ b/src/harmony-reflect.js
@@ -9,10 +9,10 @@ var $Reflect = global.Reflect;
function SetUpReflect() {
%CheckIsBootstrapping();
- InstallFunctions($Reflect, DONT_ENUM, $Array(
- "apply", ReflectApply,
- "construct", ReflectConstruct
- ));
+ InstallFunctions($Reflect, DONT_ENUM, [
+ "apply", ReflectApply,
+ "construct", ReflectConstruct
+ ]);
}
SetUpReflect();
« no previous file with comments | « src/harmony-array-includes.js ('k') | src/harmony-tostring.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698