You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
We use the inline code suite in the learning platform for Bloc, and we're running into an issue trying to teach objects and classes in javascript. When defining a class, we get an error that the identifier has already been declared.
Here's a reproducible example in jsfiddle: https://jsfiddle.net/j5L0t69c/
Once loaded, click Run in jsfiddle, then put the following in the JS tab:
We use the inline code suite in the learning platform for Bloc, and we're running into an issue trying to teach objects and classes in javascript. When defining a class, we get an error that the identifier has already been declared.
Here's a reproducible example in jsfiddle:
https://jsfiddle.net/j5L0t69c/
Once loaded, click Run in jsfiddle, then put the following in the JS tab:
After clicking Run in the inline code suite, the following error surfaces:
I also tried enabled/disabled the autoRun and useLocalStorage flags, and I get the same results in every experiment with different values.