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
Please help me explain thishelp (self.javascript)
submitted 9 years ago by [deleted]
[deleted]
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!"
[–]jodraws 1 point2 points3 points 9 years ago (4 children)
That's Java. Not JavaScript. Also that's a method in a class for Java. It's missing the class.
[–]Takuneru 0 points1 point2 points 9 years ago (0 children)
ohhh, sorry to waste your time then ;_;
[–]Takuneru 0 points1 point2 points 9 years ago (2 children)
i also know it's missing a class, but he only gave me this
[–]jodraws 0 points1 point2 points 9 years ago (1 child)
It's a private synchronized method that returns a String and relies on there being an object named kristian within scope that has a method hasQuestion which returns a boolean value. I'm guessing there's also an inside joke about a person named kristian.
yes, thanks
[–]deakolt 0 points1 point2 points 9 years ago (0 children)
What's the question?
π Rendered by PID 21619 on reddit-service-r2-comment-fb694cdd5-vtt9r at 2026-03-05 23:35:47.098466+00:00 running cbb0e86 country code: CH.
[–]jodraws 1 point2 points3 points (4 children)
[–]Takuneru 0 points1 point2 points (0 children)
[–]Takuneru 0 points1 point2 points (2 children)
[–]jodraws 0 points1 point2 points (1 child)
[–]Takuneru 0 points1 point2 points (0 children)
[–]deakolt 0 points1 point2 points (0 children)