2 ms·
But why are we polyfilling a function that exists in every version of node? When did this code not just work after installation that it required a polyfill?
by tedunangst 3y ago
But why are we polyfilling a function that exists in every version of node? When did this code not just work after installation that it required a polyfill?
- vinnymac 3y agoMy best guess is that the code was used in non-node environments. It wasn’t and isn’t uncommon to pull down a dependency from npm and expect it to work in multiple runtimes.