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

Unified Diff: src/unscopables.js

Issue 446023002: Enable ES6 iteration by default (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Moved tests to es6, fixed duplicate ExtendArrayPrototype name in unscopables.js Created 6 years, 4 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/preparser.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/unscopables.js
diff --git a/src/unscopables.js b/src/unscopables.js
index 0d70ac683f3200bc68881e47ad6f9eea8ab62fb4..fc030c68cb9f09cc7dd0c54f975bba1499d1c048 100644
--- a/src/unscopables.js
+++ b/src/unscopables.js
@@ -8,14 +8,14 @@
// var $Array = global.Array;
// var $Symbol = global.Symbol;
-function ExtendSymbol() {
+function UnscopablesExtendSymbol() {
%CheckIsBootstrapping();
InstallConstants($Symbol, $Array(
"unscopables", symbolUnscopables
));
}
-ExtendSymbol();
+UnscopablesExtendSymbol();
var arrayUnscopables = {
@@ -30,10 +30,10 @@ var arrayUnscopables = {
};
-function ExtendArrayPrototype() {
+function UnscopablesExtendArrayPrototype() {
%CheckIsBootstrapping();
%AddNamedProperty($Array.prototype, symbolUnscopables, arrayUnscopables,
DONT_ENUM | READ_ONLY);
}
-ExtendArrayPrototype();
+UnscopablesExtendArrayPrototype();
« no previous file with comments | « src/preparser.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698