JavaScript is a dynamic language based on classless object-oriented (prototype-based) programming. JavaScript was developed by Netscape in 1994, initially under the name LiveScript. The script was implemented in the Netscape browser. The company wanted to create a language that would appeal to professionals and amateurs as well. The usage of “Java” in the script name gives the wrong impression that the JavaScript code is similar to the Java programming language. There are some analogous features – both languages are object-oriented with syntax similar to that of C. However, JavaScript has dynamic typing and it’s weakly typed, while Java has static typing. The JavaScript code also has some functions based on the Scheme programming language.
JavaScript Usage
JavaScript is one of the widely used scripts, especially for web applications. Every web company needs JavaScript to add more functions to its sites. In web pages, JavaScript can be used for interactive features, animations, media playback, data validation, receiving or sending data to the server without reloading, and easier tracking of user activity. However, JavaScript code is also used for various software applications unrelated to the web.
Enable JavaScript, JavaScript Engines
JavaScript engine or interpreter is the software that enables the execution of the script in web browsers or other applications on your computer. JavaScript engines are commonly used in browsers, so you don’t have to do anything to enable JavaScript (it’s enabled by default). Still, you can easily disable the script or enable it if necessary from the browser itself. In Chrome you can enable the JavaScript engine from the Settings menu (in the Privacy section there are Content settings), you can also disable the script completely or for certain sites. In Firefox go to the Tools menu and select Options, a pop-up window will appear, click on the Content tab where you will find the Enable JavaScript option. The same settings for IE are also in the Tools menu, the Internet Options section where you can find the security settings, click the Custom Level button, and find Active Scripting in the list.