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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jsiter.h b/js/src/jsiter.h
index 17b7df38b..0b324a014 100644
--- a/js/src/jsiter.h
+++ b/js/src/jsiter.h
@@ -227,6 +227,8 @@ InitLegacyIteratorClass(JSContext* cx, HandleObject obj);
extern JSObject*
InitStopIterationClass(JSContext* cx, HandleObject obj);
+enum class IteratorKind { Sync, Async };
+
} /* namespace js */
#endif /* jsiter_h */