Thanks for the response. My qualm, however, is only with the OPs mention of Javascripts function model. I am making no claims at all regarding where Javascript sits on the functional scale. Infact, I am not claiming Javascript is even a mildly good language for any type of programming. I am simply saying that functions in Javascript are first class constructs.
Maybe I've been misunderstood, but I am lost as to why that is a controversial comment.
Thanks for the response. My qualm, however, is only with the OPs mention of Javascripts function model. I am making no claims at all regarding where Javascript sits on the functional scale. Infact, I am not claiming Javascript is even a mildly good language for any type of programming. I am simply saying that functions in Javascript are first class constructs.
Maybe I've been misunderstood, but I am lost as to why that is a controversial comment.
You are correct. Functions in JavaScript are first class constructs.
(The OP mentioned the Functional Programming Paradigm, which JavaScript falls far short compared to functional programming languages.)