JavaScript (JS) is a computer programming language originally implemented as part of web browsers on client-side scripts which allowed for interaction with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.
JavaScript was a prototype-based scripting language that was dynamic, weakly typed, and has first-class functions. Its syntax was influenced by the language C. JavaScript copies many names and naming conventions from Java, but the two languages are otherwise unrelated, since JavaScript’s is used in applications outside of web pages—for example, in PDF documents, site-specific browsers, and desktop widgets and is newer and faster JavaScript VMs and frameworks.