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

Unified Diff: test/mjsunit/harmony/collection-iterator.js

Issue 353293003: ES6: Add missing Set.prototype.keys function (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/collection-iterator.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/collection-iterator.js
diff --git a/test/mjsunit/harmony/collection-iterator.js b/test/mjsunit/harmony/collection-iterator.js
index a3a950af3ce72ea7dce7bb95e381d3ba3d9e0701..93113f609205f0fecaafee744b82430eea52dd78 100644
--- a/test/mjsunit/harmony/collection-iterator.js
+++ b/test/mjsunit/harmony/collection-iterator.js
@@ -37,6 +37,11 @@
})();
+(function TestSetIteratorKeys() {
+ assertEquals(Set.prototype.keys, Set.prototype.values);
+})();
+
+
(function TestSetIteratorEntries() {
var s = new Set;
s.add(1);
« no previous file with comments | « src/collection-iterator.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698