This is an old version, saved 3 Dec 2026, 06:23 by TechWritereditor. It is the current version.
JavaScript
JavaScript is a lightweight, interpreted (or just-in-time compiled) programming language, best known as the scripting language for web pages.[1] Alongside HTML and CSS, it is one of the three core languages of the World Wide Web, used to add interactive features to websites and web applications.[2]
History
JavaScript was created by Brendan Eich at Netscape in about ten days in May 1995.[3][4] It was first called Mocha and had been renamed JavaScript by the end of 1995; executives at Netscape and Sun Microsystems devised the new name as a marketing term.[3] The language was publicly announced as part of the beta of Netscape Navigator 2.0.[3]
Ecma International published the first edition of its ECMA-262 standard, which specifies the language under the name ECMAScript, in June 1997.[3][5] Ecma's technical committee TC39 maintains the standard, and since the sixth edition (ECMAScript 2015) a new edition has been published every June.[5] ECMAScript 2015 was described as the largest update to the language up to that time.[3]
How it works
JavaScript is a dynamic, multi-paradigm language that supports imperative, functional and object-oriented styles of programming.[1] Its objects are prototype-based, meaning they inherit directly from other objects; functions are first-class values that can be stored in variables and passed around; and memory is reclaimed automatically through garbage collection.[1] Despite the similar name, JavaScript is a different language from Java (programming language), with very different syntax, semantics and uses.[1]
In web browsers, JavaScript powers features such as pull-down menus, embedded media and form validation. Each browser runs code with its own engine, so implementations can vary.[2]
Legacy
Ryan Dahl unveiled Node.js in 2009.[3] It is an open-source server environment that made JavaScript a popular server-side language as well as a browser language.[2] JavaScript also runs in other non-browser environments, such as Apache CouchDB and Adobe Acrobat.[1] More than 98 per cent of websites were reported to use JavaScript in 2022.[2]
See also
References
- ^ JavaScript. MDN Web Docs (Mozilla). developer.mozilla.org
- ^ JavaScript. Encyclopaedia Britannica. britannica.com
- ^ 30 years of JavaScript: 10 milestones that changed the web. The New Stack. 2025-07-05. thenewstack.io
- ^ JavaScript: Designing a Language in 10 Days. IEEE Computer Society. 2012-02-02. computer.org
- ^ ECMA-262. Ecma International. ecma-international.org