What is JavaScript?
DefinitionJavaScript is a programming language that, along with HTML and CSS, is one of the core technologies of the web, used to make pages interactive and to build applications that run in browsers, on servers and elsewhere.
Also known as JS
Brendan Eich created JavaScript at Netscape in 1995. The language is standardized as ECMAScript by Ecma International, whose TC39 committee adds new features every year, while browser features such as the Document Object Model are defined by groups like the W3C and WHATWG. Every major browser includes a JavaScript engine, so scripts can respond to user input, update content without reloading the page and fetch data from servers.
Outside the browser, runtimes such as Node.js let developers use JavaScript for servers, build tools and command-line programs, and frameworks like React and Angular are built on it. Because scripts must be downloaded, parsed and run, heavy JavaScript can slow pages down, which is why performance work often focuses on shipping less of it.
JavaScript resources
Common questions about JavaScript
Is JavaScript related to Java?
No. JavaScript and Java are separate languages with different designs. JavaScript was first called Mocha and then LiveScript, and Netscape renamed it in 1995 partly to benefit from the popularity of Sun Microsystems' Java.
What's the difference between JavaScript and TypeScript?
TypeScript is a language from Microsoft that adds static types to JavaScript. TypeScript code is checked for type errors and then turned into plain JavaScript, so it runs anywhere JavaScript does.
Is JavaScript compiled or interpreted?
Both. Modern engines such as V8 in Chrome, SpiderMonkey in Firefox and JavaScriptCore in Safari start by interpreting code, then use just-in-time (JIT) compilation to turn frequently run code into fast machine code.
Can a website work without JavaScript?
Yes. HTML can deliver text, links, images and forms that submit to a server, and CSS handles layout and many visual effects. Well-built pages can work without scripts and use JavaScript to enhance them, an approach called progressive enhancement.
Topic: Web development
Cite this definition
- APA
What is JavaScript? (2026, November 22). Glossary. https://glossary.io/javascript/
- MLA
“What Is JavaScript?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/javascript/.
- Chicago
“What Is JavaScript?” Glossary. Coywolf. November 22, 2026. https://glossary.io/javascript/.
- HTML link
<a href="https://glossary.io/javascript/">What is JavaScript?</a>
Published · Updated