As promised, we are back with some more fun..
Um, I mean functions😅
As, like myself, if you are on the uphill journey that is learning JavaScript - you are aware that trying to master functions is far from fun.
In my last blog post I started discussing the general JavaScript function basics, such as (inputs, actions, and outputs).
For this second iteration, I wanted to touch on other function variations.
First, lets touch on the Anonymous Function, this is relative to the basic function, just in a different format. This type of function is not required to use the declaration of 'function' keyword for creation. But instead can be declared with a variable and assigned a value of a function.
This just makes writing a function a little easier, maybe even cleaner. An added bonus is how the anonymous function factors into writing/utilizing callback functions, as well as arrow functions.
We will cover those variations and in more depth in the next few blog posts, continuing the function saga!
Until then, continuing coding comrades👋
Top comments (0)