Hello Brad,
I just wanted to let you know: after some research, the displayName
property for functions appears to work only in Safari.
That’s a bit narrow to warrant mention in the book. Especially when I believe we should aways use named function expressions (NFE) for important methods (those we’re likely to want to spot in a stack trace, for instance), leaving anonymity only for functions-as-blocks use cases.
Thanks for the suggestion, though! I appreciate it.
Best,