mrhenry / polyfill-library

MIT License
4 stars 1 forks source link

Fixes `IteratorClose` to throw correctly #25

Closed mhassan1 closed 7 months ago

mhassan1 commented 7 months ago

This PR fixes IteratorClose to throw (instead of return) when a ThrowCompletion is passed to it. It also includes new tests in a few polyfills; those tests would fail, currently.