babel / website

:globe_with_meridians: The Babel documentation website
https://babeljs.io/docs/en/index.html
MIT License
749 stars 1.31k forks source link

Cannot run https://babeljs.io/repl/ on IE11 #1696

Open babel-bot opened 6 years ago

babel-bot commented 6 years ago

Original issue submitted by @paiboonpa in https://github.com/babel/babel/issues/8174

Bug Report

Current Behavior A clear and concise description of the behavior. Enter https://babeljs.io/repl/ with IE11. It will show "An error occurred while loading Babel :("

Expected behavior/code A clear and concise description of what you expected to happen (or code). Can load up the editor just like in Chrome/Edge

I'm running IE11 on Windows 10 Home

XhmikosR commented 6 years ago
SCRIPT438: Object doesn't support property or method 'forEach'
code-blocks-buttons.js (20,5)
XhmikosR commented 6 years ago

IE as usual :)

XhmikosR commented 6 years ago

@hzoo: should we switch to plain for or add a polyfill like https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill?