Tech explained
JavaScript History Explained: From 10 Days in 1995 to Everywhere
Updated Dec 2, 2026 · 3 min read
Brendan Eich wrote the first version of JavaScript in 10 days at Netscape in May 1995. It was called Mocha, then LiveScript, and became JavaScript in December 1995 after a license deal between Netscape and Sun. Ecma made it a standard, ECMAScript, in June 1997, and it later spread from the browser to servers with Node.js in 2009.

Key points
- ●May 1995: Brendan Eich writes the first version at Netscape in 10 days.
- ●December 1995: a Netscape and Sun license deal renames LiveScript to JavaScript. It isn't related to Java.
- ●June 1997: ECMA-262 makes the language a standard called ECMAScript.
- ●2009: Node.js runs JavaScript on servers. 2012: TypeScript adds types.
- ●Stack Overflow 2026: JavaScript is the most used language for the 12th year in a row, at 62%.

A language built in 10 days
In May 1995, Brendan Eich wrote the first version of JavaScript at Netscape in 10 days. Netscape wanted a small scripting language that ran inside its browser, so web pages could react to clicks and forms without a trip to the server.
It didn't start as JavaScript. The working name was Mocha, then LiveScript.
Why it is called JavaScript
In December 1995, Netscape and Sun signed a license deal, and LiveScript was renamed JavaScript. Java was the hot new language at the time, and the name leaned on that. The two languages aren't related. The visual sheet above has this as its second milestone, "LiveScript becomes JavaScript".
ECMAScript: one standard for every browser
In June 1997, Ecma adopted ECMA-262, first edition. The standardized language is called ECMAScript. A standard meant every browser maker could implement the same language, so a script written once could run in more than one browser.
That's why you'll see both names. ECMAScript is the spec. JavaScript is what browsers and Node.js actually run.
Gmail and Ajax: pages that act like apps
On 1 April 2004, Gmail launched with pages that updated without a full reload. New mail showed up, and you never saw the page flash white. In February 2005, Jesse James Garrett gave the technique a name: Ajax.
This was the turn. JavaScript stopped being a language for small effects and became the way real applications were built in the browser.
Node.js: JavaScript leaves the browser
On 8 November 2009, Ryan Dahl presented Node.js at JSConf EU in Berlin. Node.js had first been released in May 2009, and it let JavaScript run on the server, outside the browser.
After that, one language could cover the page and the backend behind it.
TypeScript and ES6: the modern language
On 1 October 2012, Microsoft made TypeScript public as version 0.8, led by Anders Hejlsberg. TypeScript is JavaScript plus types, and it compiles down to plain JavaScript.
In June 2015, ECMAScript 2015, better known as ES6, modernized the language itself:
| ES6 feature | What it gives you |
|---|---|
| let and const | block-scoped variables |
| arrow functions | short function syntax |
| classes | class syntax over prototypes |
| promises | a standard way to handle async results |
| modules | import and export between files |
A new ECMAScript edition has shipped every June since.
Where JavaScript ranks today
The Stack Overflow Developer Survey 2026 reports JavaScript as the most used language for the 12th year in a row, at 62% of respondents. On GitHub, the Octoverse ranking puts TypeScript first by monthly contributors, Python second and JavaScript third.
Those two facts fit together. TypeScript compiles to JavaScript, so a TypeScript project still runs as JavaScript in the browser or on Node.js.
The timeline at a glance
| Date | Milestone |
|---|---|
| May 1995 | Brendan Eich writes the first version at Netscape in 10 days |
| December 1995 | LiveScript is renamed JavaScript after the Netscape and Sun deal |
| June 1997 | ECMA-262 first edition: ECMAScript becomes the standard |
| April 2004 | Gmail launches with pages that update without a reload |
| February 2005 | Jesse James Garrett names the technique Ajax |
| November 2009 | Ryan Dahl presents Node.js at JSConf EU |
| October 2012 | Microsoft makes TypeScript public |
| June 2015 | ES6 adds let, const, arrow functions, classes, promises and modules |
| 2026 | Most used language in the Stack Overflow survey, 12th year in a row |
Sources: Brendan Eich (InfoWorld, 2008), Ecma TC39 archives, Microsoft's TypeScript blog, the Stack Overflow Developer Survey 2026 and GitHub Octoverse.
Frequently asked questions
Who created JavaScript and how long did it take?
Brendan Eich created JavaScript at Netscape. He wrote the first version in 10 days in May 1995.
Is JavaScript related to Java?
No. They're different languages. LiveScript was renamed JavaScript in December 1995 after Netscape and Sun signed a license deal, and the name leaned on Java's popularity at the time.
What is the difference between JavaScript and ECMAScript?
ECMAScript is the standard, first adopted by Ecma as ECMA-262 in June 1997. JavaScript is the language that browsers and Node.js build from that standard. ES6, also called ECMAScript 2015, is one edition of it, and a new edition has shipped every June since.
Is TypeScript more popular than JavaScript?
It depends on the measure. On GitHub, TypeScript has been number 1 by monthly contributors since August 2025, with Python second and JavaScript third. In the Stack Overflow Developer Survey 2026, JavaScript is still the most used language, at 62% of respondents. TypeScript compiles to JavaScript, so both end up running as JavaScript.