Filter / intercept a function call

by Mohan 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


607
like
0
dislike
0
mail
flag

You must LOGIN to add comments