What is actually a "function" in JavaScript?
In JavaScript, the functions are first-class objects.
Now, one would ask, what is a first-class object?
Answer: Just like any other object in JavaScript, functions are also objects. They can have properties and methods associated with them. But the...
sachinkoli.com2 min read