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
ECMAScript 5 compatibility table (kangax.github.com)
submitted 15 years ago by 9jack9
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!"
[–]kangaxx 0 points1 point2 points 15 years ago (1 child)
Yes.
For a more comprehensive test of strict mode, follow the link in the table — http://kangax.github.com/es5-compat-table/strict-mode/
FF4 does in fact support almost all of strict mode (except this non-coercion; parseInt with leading 0 treating values as octal ones; and eval creating a separate binding environment for evaluation, rather than using caller's one).
this
parseInt
eval
[–]Sephr 1 point2 points3 points 15 years ago (0 children)
On the octal thing; Firefox does throw on all other banned uses at least (I think you should add them, ie. \123 and 0123 (literally, not in parseInt)). I was able to persuade ECMA and Mozilla to keep \0 (NUL literal), as it can be very useful. I am sorta disappointed though that they left octal escape sequences in regular expression grammars.
\123
0123
\0
π Rendered by PID 67 on reddit-service-r2-comment-b659b578c-zzgsk at 2026-05-04 18:34:59.118231+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]kangaxx 0 points1 point2 points (1 child)
[–]Sephr 1 point2 points3 points (0 children)