When to use Normal Functions in #JavaScript?
In general, normal functions are a bit more verbose and readable compared to Arrow Functions.
Function declarations are fully hoisted, meaning you can call them before they are defined in your code. This is useful for #code organization.
Their this binding is dynamic - so "this" depends on where we call the function, not where we wrote them - which is perfect for using them as object methods and referring to specific class instances.
So, as a ...
