7 ms·
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
by ehynds 11y 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.
- gotchange 11y agoand more verbose as well which was the concern of person to whom I replied.