Filter / intercept a function call
by Mohan[ Edit ] 2012-09-20 23:35:44
Filter / intercept a function call
function bar(a, b, c, d, e, f) {
Print(a, b, c, d, e, f)
}
function foo() {
bar.apply(this, arguments);
}
foo(1, 2, 3, 4, 5, 6); // prints: 123456