Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Feb 8, 2018
Embed
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