polyglot.js: Getting TypeError: getPolyfill is not a function after update

Hello!

After the latest update, I’m seeing an error in my code. It looks like the error is actually coming from array.prototype.foreach but seeing as you recently changed this project to use that code, I figured this is the place to report it. I’ve added a screenshot of the error below:

image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21

Commits related to this issue

Most upvoted comments

node version is 12.16.3. I get the same error for string.prototype.at.

That did it! Thanks so much for your help!

I upgraded to 12.22 and then also to 14.17 and got the same error for both.