The definition of JavaScript

JavaScript (in spite of its name) has nothing whatsoever to do with Java (in fact, it's arguably more like Newton Script than Java). JavaScript is an interpreted language built into a browser to provide a relatively simple means of adding interactivity to web pages. It is only supported on a few different browsers, and tends not to work exactly the same on different versions. Thus its use on the Internet is somewhat restricted to fairly simple programs. On intranets where there are usually fewer browser versions in use, JavaScript has been used to implement much more complex and impressive programs.