remy / jsconsole

Web based console - for presentations and workshops
http://jsconsole.com
MIT License
1.91k stars 334 forks source link

Seems not to interpret JS classes appropriately. #179

Open CarlSustrich opened 1 year ago

CarlSustrich commented 1 year ago

I'm just learning, so it's possible I'm missing something, or not using classes appropriately, but this seems not to work as expected regarding classes.

Ex:

class Thing { constructor () { this.name = 'dude' } } let myThing = new Thing();

results in Reference Error: { Thing is not defined }

Whereas using other consoles, such as Chrome's dev console, this results in the creation of an object as intended.