Typically, a function can access it as follows:
(function f() { console.log(f);
However, when the function f has an argument, also called f , the argument takes precedence:
(function f(f) { console.log(f);
In the second example, how can I access a function when one of the arguments has the same name as the function?
[Also, where can I find documentation that the argument should take precedence over the function name?]
source share