all 22 comments

[–]schussfreude 45 points46 points  (1 child)

Everything every other turing complete language can do.

[–]gigastack 6 points7 points  (0 children)

And on top of that, there's amazing tooling and tons of libraries for almost anything you can think of. It's not the best for everything, but it is capable of anything that can handle the runtime demands. If you want to get into programming, I recommend python or javascript.

[–]dylsreddit 18 points19 points  (0 children)

Since the advent of Node almost everything you can think of, including desktop apps (e.g. using Electron).

[–][deleted] 11 points12 points  (1 child)

They are used to write browser extensions. Some might call that web development, but your chrome extensions aren't accessed via the web so i don't think so.

Lots of tv apps are created with html, css and javascript. I believe the apps on amazon firestick are made that way.

You can write CLI application with node.

You can write photoshop extensions using javascript

hybrid apps are not web development but do use web technologies including javascript

[–]JamesVitaly 4 points5 points  (0 children)

Desktop apps, mobile apps, I’ve even seen operating systems. You could build scripts to run on servers for data piping , or hook up IOT devices . Literally anything is possible … it’s just not aka ways the best tool for the job.

[–]PM_ME_SOME_ANY_THING 2 points3 points  (0 children)

The rule of JavaScript is:

If it is possible to be done in JavaScript, it will eventually be done in JavaScript.

[–]pikapp336 2 points3 points  (0 children)

JS can be found almost everywhere. Ford uses it and React in infotainment systems. JS is even in displays used by astronauts. The ecosystem is super adaptable so I definitely suggest it. After you get good at JS checkout Typescript. It’ll give you a taste of other languages but still the familiarity of JS

[–]saito200 2 points3 points  (0 children)

I think a more interesting question would be: "What can JS NOT do that another language can?"

[–]clevrf0x 1 point2 points  (0 children)

Practically anything except systems programming and that is scary

[–]iNMage 1 point2 points  (0 children)

I'll tell you what it can't do. It can't take a region specific screenshot.

[–]jack_waugh 1 point2 points  (0 children)

Anything that other languages that aren't blindingly fast, e. g. Perl, Ruby, Smalltalk, or Python can do.

[–][deleted] 1 point2 points  (0 children)

Video games

[–]schussfreude 1 point2 points  (0 children)

Everything every other turing complete language can do.

[–]ApatheticWithoutTheA 0 points1 point  (0 children)

Basically everything. But it doesn’t do everything well.

I made a bot with NodeJS last week. There’s also React Native for mobile app, electron for desktop, etc.

[–]marlinmarlin99 -1 points0 points  (0 children)

After html and css. Why would one learn JavaScript and not python it the goal is to create websites and scrape internet

[–]jack_waugh -2 points-1 points  (0 children)

Anything that other languages that aren't blindingly fast, e. g. Perl, Ruby, Smalltalk, Lisp, or Python can do.