Function Declaration vs Function Expression
What functions are and why we need them
In JavaScript functions are reusable block of code.
That can be used easily by calling the function by it's name and sending arguments.
Think of it in this way
timblarc.hashnode.dev4 min read