2 Matching Annotations
- Feb 2024
-
unix.stackexchange.com unix.stackexchange.com
-
This follows on a fairly widespread practice in various programming languages to use a leading underscore to indicate that a function or variable is in some way internal to a library and not intended for the end-user (or end-programmer).
-
- Nov 2020
-
developer.mozilla.org developer.mozilla.org
-
The Object.getPrototypeOf() method returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object.
internal: [[Prototype]]
Other times we see something used to indicate it is internal. In fact, this even supersedes proto__. So why did they use a different naming convention? Did they decide [[ ]] is a better naming convention?
-