In JavaScript, the function
keyword does a simple job: creates a function. However, the way you define a function using the keyword can create functions with different properties.
In this post, you’ll find how using the function
keyword you can write function declarations and function expressions, and what are the differences between the 2 types of functions.
#javascript