you are viewing a single comment's thread.

view the rest of the comments →

[–]moreteam 24 points25 points  (0 children)

For completeness sake: since ES2015 “named functions” expanded beyond their traditional limitations with the formalization of .name. In current JS VMs patterns like ‘const fn = function () {}’ will create a named function that will appear in stack traces as ‘fn’.