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

Unified Diff: src/js/array.js

Issue 2033263002: [es7] Array.prototype.includes should be unscopable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | test/mjsunit/es7/array-includes.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/array.js
diff --git a/src/js/array.js b/src/js/array.js
index 2458fa398e20f58f24ca1c18bfb3e923b0e43fad..7671dc5a0f48875bcd970b8a6b98f36d8ed70ab6 100644
--- a/src/js/array.js
+++ b/src/js/array.js
@@ -1657,6 +1657,7 @@ var unscopables = {
fill: true,
find: true,
findIndex: true,
+ includes: true,
keys: true,
};
« no previous file with comments | « no previous file | test/mjsunit/es7/array-includes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698