JavaScript is a programming language or Scripting language ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

7th Oct 2017, 5:24 AM
Aurum Titan
Aurum Titan - avatar
2 Answers
+ 1
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
7th Oct 2017, 5:56 AM
Prajwal Pokharel
Prajwal Pokharel - avatar
+ 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.
7th Oct 2017, 11:33 AM
Rishita
Rishita - avatar