summaryrefslogtreecommitdiffstats
path: root/js/src/jsiter.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsiter.h')
-rw-r--r--js/src/jsiter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsiter.h b/js/src/jsiter.h
index 52eb045c5..17b7df38b 100644
--- a/js/src/jsiter.h
+++ b/js/src/jsiter.h
@@ -216,10 +216,10 @@ ThrowStopIteration(JSContext* cx);
/*
* Create an object of the form { value: VALUE, done: DONE }.
- * ES6 draft from 2013-09-05, section 25.4.3.4.
+ * ES 2017 draft 7.4.7.
*/
extern JSObject*
-CreateItrResultObject(JSContext* cx, HandleValue value, bool done);
+CreateIterResultObject(JSContext* cx, HandleValue value, bool done);
extern JSObject*
InitLegacyIteratorClass(JSContext* cx, HandleObject obj);