So JavaScript was made to run in a browser. You click a button or whatnot and some code runs. But people liked it so much that that they made an external runtime outside of the browser, so you can run code just like any other language, like running a Python script. Nodejs also has a bunch of server specific functions such as file reading and writing that JavaScript running in the browser would not have access to. If you're asking what can be done with it, you can use it to run a JavaScript script one time, or you can use it to run a web server.
At least one person did, I suppose. I don't hate working with Typescript, there's some issues with it but overall it's a decent language to work in. JavaScript by itself is pretty miserable though.
5 Comments
sudoMakeUser@sh.itjust.works · 4 pts · 100d
So JavaScript was made to run in a browser. You click a button or whatnot and some code runs. But people liked it so much that that they made an external runtime outside of the browser, so you can run code just like any other language, like running a Python script. Nodejs also has a bunch of server specific functions such as file reading and writing that JavaScript running in the browser would not have access to. If you're asking what can be done with it, you can use it to run a JavaScript script one time, or you can use it to run a web server.
howrar@lemmy.ca · 6 pts · 100d
[Citation needed]
JackDark@lemmy.world · 4 pts · 100d
🙋♂️
sudoMakeUser@sh.itjust.works · 2 pts · 100d
At least one person did, I suppose. I don't hate working with Typescript, there's some issues with it but overall it's a decent language to work in. JavaScript by itself is pretty miserable though.
theacharnian@lemmy.ca · 1 pts · 100d
https://sel.ist.osaka-u.ac.jp/lab-db/betuzuri/archive/1116/1116.pdf