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

Unified Diff: src/js/symbol.js

Issue 1683043003: Implement symbol @@hasInstance for ES6 instanceof support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix broken test. Created 4 years, 10 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/heap-symbols.h ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/symbol.js
diff --git a/src/js/symbol.js b/src/js/symbol.js
index 0c87a117ee43de5b3da0eac8e441a3846908f1d5..ae543691c2970ebb110fcd5abfe598ac0e0bcb61 100644
--- a/src/js/symbol.js
+++ b/src/js/symbol.js
@@ -75,8 +75,7 @@ function SymbolKeyFor(symbol) {
// -------------------------------------------------------------------
utils.InstallConstants(GlobalSymbol, [
- // TODO(rossberg): expose when implemented.
- // "hasInstance", hasInstanceSymbol,
+ "hasInstance", hasInstanceSymbol,
"isConcatSpreadable", isConcatSpreadableSymbol,
"iterator", iteratorSymbol,
// TODO(yangguo): expose when implemented.
« no previous file with comments | « src/heap-symbols.h ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698