Search This Blog

Wednesday, November 21, 2018

JavaScript Functions Are Values

In JavaScript, everything is an object. This goes for functions too. And like other objects, functions can be assigned to variables, passed into parameters of other functions, and used the same way you can any other object.