How can i listen to a specific function call with parametters using javascript:
example : when showname(2) is called i can do something like call another function to
You can't "hook" into arbitrary function calls, no.