I'm busy with refactoring of legacy code. Here I can see that for functions used both declarations and expressions. I know that declarations hoisted, expressions are work at time step-by-step execution. There are also NFE
but I can't use them because there are problems with IE8
. So, my question is:
Can I just replace all function declarations to expressions? Is there any visible or possible problems with such replacement? I want to use expressions, define them at top of the file.