Skip to content

Instantly share code, notes, and snippets.



Created Feb 8, 2018
What would you like to do?
class Hello {
constructor() {
this.ary = ['a', 'b', 'c'];
* [Symbol.iterator](){
for (let v of this.ary) {
yield v + v;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment