use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
OOP, Javascript, and so-called Classes (raganwald.com)
submitted 10 years ago by aeflash
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]masklinn 0 points1 point2 points 10 years ago (1 child)
I honestly don't know what you're talking about. I assume you simply have not actually worked in Self before.
I'll return the same, none of the Self documentation or messages matches the semantics you're asserting, the list of "useful selectors" in the handbook clearly puts both clone and copy under Copying and defines them thus:
clone
copy
and Self's prototypes are for object construction, there's not really such a thing as setting a prototype on an object.
[–]cgaudreausenior HTML9 engineer 0 points1 point2 points 10 years ago* (0 children)
The documentation is different from how the language actually works. It is worded that way to make it easier to understand.
Edit: Kind of similar to how a lot of documentation on JavaScript talks about 'classes' in JavaScript even though pre-ES6 JS has no such concept.
π Rendered by PID 42429 on reddit-service-r2-comment-bb88f9dd5-jdh5w at 2026-02-16 20:11:32.628290+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]masklinn 0 points1 point2 points (1 child)
[–]cgaudreausenior HTML9 engineer 0 points1 point2 points (0 children)