As long as your operating system is modern enough to run a web browser, it can run JavaScript. JavaScript is the most widely used language because of its accessibility. If you're thinking of using Node.js or other JavaScript engines, their requirements can be checked on their websites.