Function expression on firefox - expected result
1 answer
This is a case of lifting a function. Any function declared with the same function name, the last function of that name will take precedence and will be used even if it is zero. In most cases, the function declaration is processed before the script is executed, however this is not the case with Firefox, it takes it when it enters the if block.
0
source to share