top | item 10677900

(no title)

ehynds | 10 years ago

OP is saying that `let func = () => {};` creates a named function where func.name equals "func" and "func" appears as part of the stack trace.

Your example is still an anonymous function just bound to a different context.

discuss

order

gotchange|10 years ago

and more verbose as well which was the concern of person to whom I replied.