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…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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:


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2023-03-31T03:33:18+00:00) » JavaScript functions are objects. Retrieved from https://www.scien.cx/2010/10/23/javascript-functions-are-objects/.
MLA
" » JavaScript functions are objects." Posts on LINQ to Fail | Sciencx - Saturday October 23, 2010, https://www.scien.cx/2010/10/23/javascript-functions-are-objects/
HARVARD
Posts on LINQ to Fail | Sciencx Saturday October 23, 2010 » JavaScript functions are objects., viewed 2023-03-31T03:33:18+00:00,<https://www.scien.cx/2010/10/23/javascript-functions-are-objects/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » JavaScript functions are objects. [Internet]. [Accessed 2023-03-31T03:33:18+00:00]. Available from: https://www.scien.cx/2010/10/23/javascript-functions-are-objects/
CHICAGO
" » JavaScript functions are objects." Posts on LINQ to Fail | Sciencx - Accessed 2023-03-31T03:33:18+00:00. https://www.scien.cx/2010/10/23/javascript-functions-are-objects/
IEEE
" » JavaScript functions are objects." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/10/23/javascript-functions-are-objects/. [Accessed: 2023-03-31T03:33:18+00:00]
rf:citation
» JavaScript functions are objects | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/10/23/javascript-functions-are-objects/ | 2023-03-31T03:33:18+00:00
https://github.com/addpipe/simple-recorderjs-demo