Using polyfills in Workers for ESNext features

I wanted to know if there's a way to use polyfills in workers for ESNext features, specifically, the iterator functions, ie. Iterator.prototype.filter ,etc... Or does it work just fine?

Sometimes workers seems too simplified and I can't tell how the JS is being transformed.
Was this page helpful?