String.prototype.addPrefix = function (preStr) { return `${preStr}${this}`; } console.log("world".addPrefix("hello"))