3 ms·
Not cheating, this is an anon function and its call
by owebmaster 9y ago
Not cheating, this is an anon function and its call
- shawnz 9y agobut the inner function is not anonymous, which is the focus of the question.
- underwater 9y ago`log` is invoked by the expression `console.log(2)`. That's exactly the same as example 1.