We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generator function polyfill
Playground link with relevant code
function* gen() { var count = 0; var obj = { foo: 1, bar: 2 }; for (var key in obj) { console.log(obj.hasOwnProperty(key)) yield [key, obj[key]]; delete obj.bar; count += 1; } return count; } let itr = gen(); itr.next(); itr.next();
true false
true
The text was updated successfully, but these errors were encountered:
rbuckton
Successfully merging a pull request may close this issue.
Bug Report
π Search Terms
generator function polyfill
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
π Expected behavior
true
The text was updated successfully, but these errors were encountered: