JavaScript functions are objects

I think it’s well known just how much I enjoy JavaScript, especially since there’s a few really funky things I’ve written about in the past.
But in this article I’m going to look at something else that’s not commonly reali…

I think it’s well known just how much I enjoy JavaScript, especially since there’s a few really funky things I’ve written about in the past. But in this article I’m going to look at something else that’s not commonly realised about JavaScript, that a function is actually just an object. Functions 101 There’s a couple of ways which you can write a function in JavaScript, you can write them anonymously:
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: