question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE11 polyfills: missing Math.trunc

See original GitHub issue

Bug report

Describe the bug

Math.trunc is not available in IE11. Seeing errors show up in bugsnag for this one.

Expected behavior

Math.trunc should be polyfilled in the IE11 polyfill bundle.

System information

  • OS: all
  • Browser (if applies) IE 11
  • Version of Next.js: latest

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
timneutkenscommented, Apr 7, 2020

Math polyfills were excluded on purpose as it seemed like something only few applications would use them 🤔

1reaction
iduuckcommented, Apr 15, 2020

Never been that confused lately. Thanks for clarification! All clear now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IE browser not supporting Math.trunc() - Stack Overflow
Yes, IE does not support Math.trunc , or many other features. See the MDN browser compatibility ...
Read more >
superagent - npm
elegant & feature rich browser / node HTTP with a fluent API. Latest version: 8.0.2, last published: 20 days ago. Start using superagent...
Read more >
https://iotsensores.com/DLVM/es2015-polyfills.js.map
node_modules/core-js/modules/_math-expm1.js","webpack:///. ... modules/es6.math.trunc');\nmodule.exports = require('../modules/_core').Math;\n","require('.
Read more >
IE11 and the Missing Polyfills - DEV Community 👩‍💻👨‍💻
🦎 -> 🦖 · you don't have to ship polyfills to a browser which supports these features. · you don't have to ship...
Read more >
Untitled
Polyfills exists to polyfill something missing. you don't have to ship a ... Oct 14, 2022 · For this particular case, the polyfill...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found