I didn't know you could do this until I had banged my head against the wall on a troublesome bug and finally figured out we were failing because some jquery plugin had overwritten the escape function. So this will put up an alert and docwrite null:
escape = function(a){alert(a)} document.write(escape("Need tips? Visit W3Schools!"));
Cool! (not).
Is there a way to restore the native escape function?