classes & objects

Run Settings
LanguageJavaScript
Language Version
Run Command
class MyClass { } const myFirstObject = { name: "Petya", showIt: function(){ return this.name; } }; const mySecondObject = { name: "Vasya", showIt: (name) => { return name; } }; console.log(myFirstObject.showIt()); console.log(mySecondObject.showIt('name'));
Editor Settings
Theme
Key bindings
Full width
Lines