We are talking in circles here. Your quote is saying nothing of relevance. The ability to furnish a function with properties and methods that operate upon them does not matter at all.
Let me make this really clear.
You say: "methods [Functions] are not prime [first-class] citizens"
You are wrong.
Functions in Javascript conform to all of the requirements that make a construct first-class in a programming language.
If you still want to disagree this with, please provide a concrete example demonstrating how functions are not first-class in Javascript.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
We are talking in circles here. Your quote is saying nothing of relevance. The ability to furnish a function with properties and methods that operate upon them does not matter at all.
Let me make this really clear.
You say: "methods [Functions] are not prime [first-class] citizens"
You are wrong.
Functions in Javascript conform to all of the requirements that make a construct first-class in a programming language.
If you still want to disagree this with, please provide a concrete example demonstrating how functions are not first-class in Javascript.