Issue with "Function.prototype.displayName": Firefox's usage of displayName has changed #20293
Labels
Content:JS
JavaScript docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/displayName
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
By entering the following in a console, it should display as something like
function My Function()
:What did you expect to see?
In recent FF versions, it only shows
function Function()
. My guess is that it's truncated to the last valid identifier, but I'm not sure.Do you have any supporting links, references, or citations?
Output in FF 104:
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/javascript/reference/global_objects/function/displayname
The text was updated successfully, but these errors were encountered: