A scripting language designed to add features to web pages. JavaScript code is embedded in the HTML code and is run by the web browser. JavaScript is loosely based on Java and was produced by Netscape and Sun Microsystems. The language has been standardized by ECMA International, and its official name is ECMAScript.
https://developer.mozilla.org/en-US/docs/Web/JavaScript Mozilla’s documentation for JavaScript