JavaScript

No description

fork
loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.47772504980788355","path":"main.js","file":{"path":"main.js","content":{"asEncoding":{"base64":"bGV0IGYgPSBmdW5jdGlvbiAoKSB7CiAgdGhpcy5hID0gMTsKICB0aGlzLmIgPSAyOwp9CgpsZXQgbyA9IG5ldyBmKCk7CgpmLnByb3RvdHlwZS5iID0gMzsKZi5wcm90b3R5cGUuYyA9IDQ7CgoKY29uc29sZS5sb2coby5hKTsKY29uc29sZS5sb2coby5iKTsKY29uc29sZS5sb2coby5jKTsKY29uc29sZS5sb2coby5kKTs="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let f = function () {
  this.a = 1;
  this.b = 2;
}

let o = new f();

f.prototype.b = 3;
f.prototype.c = 4;


console.log(o.a);
console.log(o.b);
console.log(o.c);
console.log(o.d);
Native Browser JavaScript