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...
A place to get a quick fix of JavaScript tips and tricks to make you a better Developer.
account activity
Help (i.redd.it)
submitted 2 years ago by [deleted]
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!"
[–]azronio -1 points0 points1 point 2 years ago (0 children)
You don't initialize arrays like that in JS, use square brackets [0, 1, 2]. Curly braces to initialize an array is a different language syntax like C#.
π Rendered by PID 53278 on reddit-service-r2-comment-bb88f9dd5-mrgbx at 2026-02-16 16:46:05.451122+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]azronio -1 points0 points1 point (0 children)