What can you do with JavaScript?

Like most languages, JavaScript can be used for almost any purpose, in principle

In practice, however, JavaScript is largely limited to four areas:

1. Frontend web development, i.e. web browser-based applications
2. Cross-platform mobile development using React Native, Cordova, Vue Native
3. Desktop application development using Electron
4. Server-side development using Node