Closed danmckeon closed 5 years ago
You don't need Chrome there, that's a test page for IE
is there a way to produce code that renders for both modern browsers and IE or does different code need to be served based on browser?
I've been trying to use Babel but am receiving this error (when accessing with Chrome):
Uncaught TypeError: Cannot call a class as a function
You need the right transpiler, namely Babel 7
Live example: https://codepen.io/WebReflection/pen/yLBROJK
There is an error in the console on the es5 test page on Chrome version 76 and the "it worked" link is not rendering.
Error is as follows: