Computer Science, asked by kartikmistry5633, 9 months ago

Is it possible to write programs for standalone applications in JavaScript?

Answers

Answered by Bigdahero90
1

Answer:

Using JavaScript for a desktop app is just using the wrong tool. But sure, it can be done! ... JavaScript works on any browser so it's pretty cross-platform, small browser differences aside. If your application can run in the context of a web browser, using JavaScript might be a decent solution.

Answered by shilpa85475
0

Yes, it is possible to write programs for standalone applications in JavaScript.

EXPLANATION:  

  • Generally, to run JavaScript one needs a runtime environment, which is a browser most of the times.
  • But JavaScript can be executed also on a server. It can also be run on any device that has JavaScript Engine which is a special program.
  • One can use Node, to run javascript without the use of browsers. We have nwjs/nw.js (Node Webkit).
  • Write HTML/CSS/JS, bundle it with Webkit and a "stand alone" application is created.

Thus, programs can be written in JavaScript for standalone applications.

Similar questions