I want to write a log method for String that can print the string, but it not work on the correct way
String.prototype.log = () => console.log(this.toString())
'Print Me'.log()  // [object Window]
I want to print Print Me, not [object Window], how can I make it work
 
     
    