because JS is available free of cost. because JS can provide programming functionality inside but up to certain extend. ... JS is called as "Lightweight Programming Language" because it can include programming functionality but does not perform stronger operations like Java and C++.
Is JavaScript a lightweight programming language?
JavaScript (often shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, and is best known as the scripting language for Web pages, but it's used in many non-browser environments as well. ... Contrary to popular misconception, JavaScript is not "Interpreted Java".
What do you mean by lightweight programming language?
Lightweight programming languages are designed to have small memory footprint, are easy to implement (important when porting a language to different systems), and/or have minimalist syntax and features. These programming languages have simple syntax and semantics, so they could be learnt easily and in little time.