loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.9283190809752824","path":"main.js","file":{"path":"main.js","content":{"asEncoding":{"base64":"U3RyaW5nLnByb3RvdHlwZS53aWxkRXhjbGFtYXRpb24gPSBmdW5jdGlvbigpIHsgCiAgcmV0dXJuIGAke3RoaXMudG9TdHJpbmcoKX0hIz8hIz9gOwp9OwoKU3RyaW5nLnByb3RvdHlwZS5ib2xkSHRtbCA9IGZ1bmN0aW9uKCkgeyAKICByZXR1cm4gYDxiPiR7dGhpcy50b1N0cmluZygpfTwvYj5gOwp9OwoKCgp2YXIgdGVzdCA9ICJIZWxsbyI7CmNvbnNvbGUubG9nKHRlc3QudG9VcHBlckNhc2UoKSk7IC8vIFN0YW5kYXJkIFN0cmluZyBtZXRob2QKY29uc29sZS5sb2codGVzdC53aWxkRXhjbGFtYXRpb24oKSk7IC8vIEN1c3RvbSBTdHJpbmcgbWV0aG9kIGFkZGVkIHZpYSBwcm90b3R5cGUKY29uc29sZS5sb2codGVzdC5ib2xkSHRtbCgpKTsgLy8gQ3VzdG9tIFN0cmluZyBtZXRob2QgYWRkZWQgdmlhIHByb3RvdHlwZQoKCmNvbnNvbGUubG9nKFN0cmluZygiV29ybGQiKS50b1VwcGVyQ2FzZSgpKTsgLy8gU3RhbmRhcmQgU3RyaW5nIG1ldGhvZApjb25zb2xlLmxvZyhTdHJpbmcoIldvcmxkIikud2lsZEV4Y2xhbWF0aW9uKCkpOyAvLyBDdXN0b20gU3RyaW5nIG1ldGhvZCBhZGRlZCB2aWEgcHJvdG90eXBlCmNvbnNvbGUubG9nKFN0cmluZygiV29ybGQiKS5ib2xkSHRtbCgpKTsgLy8gQ3VzdG9tIFN0cmluZyBtZXRob2QgYWRkZWQgdmlhIHByb3RvdHlwZQo="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
String.prototype.wildExclamation = function() { 
  return `${this.toString()}!#?!#?`;
};

String.prototype.boldHtml = function() { 
  return `<b>${this.toString()}</b>`;
};



var test = "Hello";
console.log(test.toUpperCase()); // Standard String method
console.log(test.wildExclamation()); // Custom String method added via prototype
console.log(test.boldHtml()); // Custom String method added via prototype


console.log(String("World").toUpperCase()); // Standard String method
console.log(String("World").wildExclamation()); // Custom String method added via prototype
console.log(String("World").boldHtml()); // Custom String method added via prototype
Native Browser JavaScript