Everything started here.
A friend asked me, why the second declaration is bad while the last one is good? Well, I had no idea! So I did a quick research in order to answer him, also for myself.
Please note that all the explanations below are “IMO”. I don’t know whether they’re correct or not. If I’m wrong, please correct me.
[… some explain here]
Function Declarations vs. Function Expressions