Skip to content

Instantly share code, notes, and snippets.

@zlatkov
Last active March 11, 2021 12:46
Show Gist options
  • Save zlatkov/ab5da4067d7c4d89f38171984d5e9138 to your computer and use it in GitHub Desktop.
Save zlatkov/ab5da4067d7c4d89f38171984d5e9138 to your computer and use it in GitHub Desktop.
let fibonacciSequenceIterator = makeFibonacciSequenceIterator(5);
for (let x of fibonacciSequenceIterator) {
console.log(x);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment