I\'m a long-time browser but a first time participator. If I\'m missing any etiquette details, please just let me know!
Also, I\'ve searched high and low, including this
I would look into creating a new object, using the native object as a backing field and manually recreating the functions for the native objects. For some very rough, untested sample code...
var myString = {
_value = ''
,substring:_value.substring
,indexOf:_value.indexOf
}
Now, I'm sure this wont work as intended. But I think with some tweaking, it could resemble on object inherited from String.