This is the most common form of the language. The script is included in many HTML documents so that the code can be interpreted by the browser. This means that a webpage need not be static HTML, but can contain elements that interact with the user, control the browser, and dynamically create HTML content.
When used on the network, the scripting language provides the following benefits:
JS can not be considered a full-fledged programming language. For this it lacks a few important functions:
One of the biggest strengths of this language is that it does not require expensive development tools. The scripts can be created with a simple text editor and pasted into an HTML program. Because it's an interpreted language in the context of a web browser, not even a compiler is required.
The scripting language can be used for object-oriented and procedural programs. The language contains many predefined objects, methods, and functions for accessing a web page. Also, the programmers have numerous libraries at their disposal. Libraries are always included in the program code when certain functions are required. This can be used to display or animate tables, graphics or diagrams, for example.