THE FUNCTION
FIRST CLASS FUNCTION In this post we will talk about the fundamental characteristics of Javascript functions. We will talk about very important concepts such as abstraction, encapsulation which was used in ES5 called IIFE, the keyword this etc. Translating this definition with regards to JS functions it means that everything we can do with strings numbers etc. we can do it with functions. Just as we can assign a variable to a number, a string etc. so we can assign that variable to a function. Let's see a code example to clarify these concepts. [...]