+ 1
JavaScript is a programming language or Scripting language ???
The difference between programming and scripting language is files,threads and multi threading is not there and it can't manipulate user files and file handling Though some extension s of JavaScript like node.js,typescript prove to be programming language
4 ответов
+ 2
Javascript is a scripting language.
A scripting language, script language or extension language is a programming language that allows some control of a single or many software application(s). Languages chosen for scripting purposes are often much higher-level than the language used by the host application...
In this case, the application is the browser. And about compilation:
Scripts are often, but not always, interpreted from the source code or "semi-compiled" to bytecode which is interpreted, unlike the applications they are associated with, which are traditionally compiled to native machine code for the system on which they run
Source: StackOverflow and Wikipedia
+ 1
A script is a small piece of program that can add interactivity to the website. For example, a script could generate a pop-up alert box message, or provide a dropdown menu. This script could be written using Javascript or VBScript , various small functions, called event handlers can be written using any of the scripting language and then you can trigger those functions using HTML attributes.
The <script> tag is used to define a clientside script, such as a JavaScript.