Where may JavaScript be executed?
JavaScript is supported by all web browsers out of the box. A JavaScript application can run on any device. Still, a desktop or mobile program can only operate on the platform for which it was designed (Windows, Mac OSX, Linux, iPhone, Android). This makes it extremely simple to create cross-platform apps.