OP is saying that `let func = () =&gt; {};` creates a named function where func.name equals &quot;func&quot; and &quot;func&quot; appears as part of the stack trace.<p>Your example is still an anonymous function just bound to a different context.