Bug 817368 - Map.prototype.{keys,values,entries}. r=luke.

This commit is contained in:
Jason Orendorff
2012-12-14 14:33:13 -06:00
parent 362887a5b5
commit a870b917d2
6 changed files with 121 additions and 21 deletions

View File

@@ -948,7 +948,7 @@ ElementIteratorObject::next_impl(JSContext *cx, CallArgs args)
}
Class js::ElementIteratorClass = {
"Iterator",
"Array Iterator",
JSCLASS_IMPLEMENTS_BARRIERS |
JSCLASS_HAS_RESERVED_SLOTS(ElementIteratorObject::NumSlots),
JS_PropertyStub, /* addProperty */