Y
Hacker News
new
|
ask
|
show
|
jobs
by
ehynds
3844 days 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.
1 comments
gotchange
3844 days ago
and more verbose as well which was the concern of person to whom I replied.
link