Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- var oldValueOf = Array.prototype.valueOf;
- Array.prototype.valueOf = function() {
- if (oldValueOf.call(this) === -1) {
- console.log('bar'); return -1;
- } else {
- return oldValueOf.call(this);
- }
- }
- })()
Add Comment
Please, Sign In to add comment