this post was submitted on 16 Jul 2023
711 points (92.4% liked)

Programmer Humor

32561 readers
391 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

No offence

you are viewing a single comment's thread
view the rest of the comments
[–] Rodeo@lemmy.ca 0 points 1 year ago (2 children)

Afaik JavaScript only runs in a browser. If you want to make a desktop app your only option is something like electron.

For example, you can't make the equivalent of a bash script with JS, but it's trivial with python. I don't think you can do system calls at all with JS.

[–] vithigar@lemmy.ca 4 points 1 year ago

There are non-browser JavaScript implementations, the most well-known of which is node.js

[–] nothacking@discuss.tchncs.de 1 points 1 year ago

Nodejs is a works great for that.