I wasn't defining a function in that example, I was calling a function that contained a closure as an argument (in both JS and CS). This is perfectly valid JavaScript.
I've edited the post to be more clear on this.
I've edited the post to be more clear on this.
No comments yet.