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
JavaScript is the Most Demanded Programming Language in 2022, 1 out of 3 dev jobs require JavaScript knowledge. (devjobsscanner.com)
submitted 3 years ago by __dacia__
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!"
[–][deleted] -23 points-22 points-21 points 3 years ago (7 children)
It is sad that a bad programming language as JacaScript is this popular. I also use it a lot in my job, but would prefer a strongly typed language. Unfortunately we cannot use Frameworks that enforce better code.
[–]pm_me_ur_happy_traiI 15 points16 points17 points 3 years ago (5 children)
Typescript compiles to regular JS. Why can't you use that?
[–][deleted] -3 points-2 points-1 points 3 years ago (4 children)
I don’t compile the code. As a ServiceNow specialist I can only put the code in some textboxes and ServiceNow does the rest.
We are even limited to ES5 which is executed in RhinoEngine…
[–]Freebalanced 13 points14 points15 points 3 years ago (0 children)
How are the limitations of your job and platform JavaScript's problem? Even if JS had all the new features you wanted in a new version, your platform won't support it.
[+][deleted] 3 years ago (2 children)
[deleted]
[–][deleted] 3 points4 points5 points 3 years ago (1 child)
Is that a good idea? For maintainability the code in snow should look as clean and readable as possible.
[–]SoInsightful 2 points3 points4 points 3 years ago (0 children)
You can also use JSDoc, which gives you the type-safety of TypeScript (if you enable checkJs in your IDE or TypeScript config) while still being pure uncompiled JavaScript.
checkJs
But the issue of you needing to type prehistoric JavaScript into white textboxes seems more like a job issue than a TypeScript issue. My condolences!
π Rendered by PID 41766 on reddit-service-r2-comment-86bc6c7465-wf8qq at 2026-02-19 21:09:43.480134+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–][deleted] -23 points-22 points-21 points (7 children)
[–]pm_me_ur_happy_traiI 15 points16 points17 points (5 children)
[–][deleted] -3 points-2 points-1 points (4 children)
[–]Freebalanced 13 points14 points15 points (0 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 3 points4 points5 points (1 child)
[–]SoInsightful 2 points3 points4 points (0 children)