As far as i know it\'s not possible to modify an object from itself this way:
String.prototype.append = function(val){ this = this + val; }
While strings are immutable, trying to assign anything to this in any class will throw an error.
this