We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31d4703 commit bd85811Copy full SHA for bd85811
src/iter.js
@@ -0,0 +1,9 @@
1
+/**
2
+ * Returns the iterator for the input iterable.
3
+ *
4
+ * @param {Iterable} iterable - The input iterable.
5
+ * @returns {Iterator}
6
+ */
7
+export default function iter(iterable) {
8
+ return iterable[Symbol.iterator]();
9
+}
0 commit comments