Index: test/mjsunit/es6/array-iterator.js |
diff --git a/test/mjsunit/es6/array-iterator.js b/test/mjsunit/es6/array-iterator.js |
index 767991eafed33f913e2725da6baa46a7939450b1..5fab0fbf8654a7112358c0eeddc82955cf7e04c0 100644 |
--- a/test/mjsunit/es6/array-iterator.js |
+++ b/test/mjsunit/es6/array-iterator.js |
@@ -47,6 +47,9 @@ function TestArrayPrototype() { |
assertHasOwnProperty(Array.prototype, 'entries', DONT_ENUM); |
assertHasOwnProperty(Array.prototype, 'keys', DONT_ENUM); |
assertHasOwnProperty(Array.prototype, Symbol.iterator, DONT_ENUM); |
+ assertEquals('entries', Array.prototype.entries.name); |
+ assertEquals('keys', Array.prototype.keys.name); |
+ assertEquals('values', Array.prototype[Symbol.iterator].name); |
} |
TestArrayPrototype(); |