prototype

Run Settings
LanguageJavaScript
Language Version
Run Command
function Link(id, next) { this.next = next; this.id = id; this.get = function (i) { console.log(i); }; } Link.prototype.get2 = function(i) { console.log(i); }; var a = new Link(1, 'next'); a.get('get'); a.get2('get2'); console.log(a); console.log(Link); console.log(Link.prototype);
Editor Settings
Theme
Key bindings
Full width
Lines