Replies: 2 comments 4 replies
-
Hi, Tom! You have a good point here. For static methods, and only them, prefixing with the interface name would be:
As we now have page types, this would be easy to fix automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For static methods like
createObjectURL
, MDN used to show the syntax likeURL.createObjectURL(object)
instead ofcreateObjectURL(object)
. I think the former is more useful in most cases. This makes it immediately obvious that this is a static method and the code can even be copied directly.In this specific instance it's even a bit more problematic because there is no example code that shows how using this API would look like.
Beta Was this translation helpful? Give feedback.
All reactions