Applications for the web, mobile devices, and desktops may all be created with js. It doesn’t create desktop apps on its own, but it can be used with Cordova or other tools of a like nature to create them.