History

This Day in History — Netscape and Sun Announce JavaScript

On this day in 1995

On December 4, 1995, Netscape and Sun announced JavaScript, a language Brendan Eich had prototyped in ten days that May as Mocha and shipped as LiveScript.

The Off-Key Bard steps into the mid-1990s Web, where early pages mostly deliver linked documents, images and forms. Brendan Eich joined Netscape in April 1995 and, in roughly ten days in May, built a prototype scripting language under the working name Mocha, later called LiveScript. On December 4, 1995, Netscape and Sun Microsystems announce it by a third name, JavaScript, and give browser scripting a banner that will outlast the circumstances of its origin.

"JavaScript didn't just add motion to web pages—it let the browser respond directly to what people did."

On December 4, 1995, Netscape Communications and Sun Microsystems issued a joint press release in Mountain View, California, introducing JavaScript as a cross-platform scripting language for developing dynamic applications across corporate networks and the Internet. The announcement positioned JavaScript as a complement to Sun's Java programming language and identified the Netscape Navigator 2.0 beta as the first browser implementation. December 4 marks the language's public announcement under its familiar name, not its original creation. The story behind it covers a ten-day prototype, three names in one year, a rival implementation from Microsoft, and an international standard that gave the language a formal name of its own, ECMAScript.

Eich Joins Netscape

The history by Allen Wirfs-Brock and Brendan Eich, JavaScript: The First 20 Years, says Eich joined Netscape on April 3, 1995. Richard MacManus's account on Cybercultural adds that he had been offered a job in 1994 and declined it, and that he came expecting to implement Scheme, a Lisp-family language, in the browser. Navigator 1.0 had been released in December 1994, and MacManus says it supported HTML but had no scripting.

Java arrived the same spring. Cybercultural says Sun launched Java on May 23, 1995, and Wirfs-Brock and Eich put Netscape's announcement of its intent to license Java on the same date. Marc Andreessen and Sun's Bill Joy backed a "little language" to complement Java, and the Wirfs-Brock and Eich history says Mocha had to "look like Java."

Ten Days in May

The best-known fact about JavaScript is that Eich wrote it in ten days. In a 2011 blog post he writes, "As you may know, I wrote JavaScript in ten days," and says that in 1995 the language was "essentially a one-man show." Wirfs-Brock and Eich say he built the first prototype over ten contiguous days in May 1995. A footnote in their paper gives May 6 to 15 as his best recollection, and says no exact record survives.

Those ten days produced the first working prototype, not the finished language that developers would encounter in later browsers. Eich continued refining the implementation throughout 1995, and subsequent development involved many other engineers. Marc Andreessen proposed the working name Mocha, anticipating that the language might eventually become JavaScript.

Three Names

The language was first exposed publicly as LiveScript in September 1995, in the first Navigator 2.0 beta, according to Wirfs-Brock and Eich. The name JavaScript was announced on December 4. The same paper says Sun and Netscape wanted to forge a strong brand linkage between the two languages, even though their designs were only superficially similar. SitePoint's Craig Buckler says the name changed when Netscape added support for Java applets. Cybercultural reports that Eich later called the name a "big fat marketing scam" in a 2020 tweet, and notes that Netscape used the name to exploit Java's popularity.

The public encountered the language in stages. LiveScript appeared in the first Netscape Navigator 2.0 beta in September 1995. Subsequent beta releases continued its development, and the December announcement established JavaScript as its public name. The completed Navigator 2.0 production release followed in March 1996 with JavaScript 1.0. What began as Mocha in May had become an established browser technology in less than a year.

December 4, 1995

The joint announcement introduced JavaScript as an open, cross-platform object scripting language for enterprise networks and the Internet. Netscape and Sun presented it as a complement to Java, intended to connect existing software components and make online applications easier to develop. The announcement extended beyond the browser. Netscape also outlined plans for LiveWire, a development environment that would allow JavaScript applications to operate on its servers. Twenty-eight companies endorsed JavaScript, including America Online, Apple Computer, AT&T, Hewlett-Packard, Oracle, and Silicon Graphics. Contemporary reporting in the Los Angeles Times and by the Associated Press confirms the extent of that industry support. For a language that had existed only as a prototype seven months earlier, the announcement represented an ambitious attempt to establish JavaScript as a common technology for the developing Web.

Microsoft Answers with JScript

Netscape was not alone for long. Doug Tidwell of Red Hat describes Microsoft as Netscape's principal competitor during the browser wars of the mid-1990s. According to Wirfs-Brock and Eich, Microsoft began developing its own implementation of JavaScript in October 1995 and announced scripting support in its May 29, 1996, Internet Explorer 3.0 beta announcement.

Microsoft introduced its implementation under the name JScript, avoiding the JavaScript trademark associated with Sun Microsystems. Although JScript was designed to be compatible with JavaScript, differences in language implementation and browser-specific interfaces created problems for developers. A script that worked in Netscape Navigator would not necessarily behave identically in Internet Explorer. Those incompatibilities helped establish the need for a common language standard.

A Standard Called ECMAScript

Standardization began within a year. JetBrains' timeline dates Netscape's proposal to Ecma International to November 21, 1996, and the first edition of Ecma-262 says its development started in November 1996. Eich says that in fall 1996 Netscape management pressed him to write a proto-spec while he was also maintaining the engine himself.

The Ecma General Assembly adopted the first edition of ECMA-262 in June 1997, identifying Netscape's JavaScript and Microsoft's JScript among the technologies on which the standard was based. The Technical Committee known as TC39 became responsible for the language's continued standardization and development. The standard subsequently received international recognition through ISO/IEC 16262.

ECMAScript defines the core scripting language, while JavaScript is the name commonly used for the language implemented in browsers and other environments. Features such as variables, functions, objects, and language syntax belong to that core. The Document Object Model, or DOM, and other browser APIs are supplied by the surrounding environment. That distinction helps explain why JavaScript can manipulate a web page inside a browser but also run in a server environment such as Node.js, where the browser's document interface is not normally available.

Even the standard's name had a complicated history. Sun declined to license the JavaScript name to Ecma, and an attempt to use LiveScript also encountered trademark and ownership concerns. ECMAScript had served as a temporary name during development, but in September 1997 the committee agreed to retain it. A language that had already passed through three names acquired a fourth, this time belonging to an international standard rather than a particular browser manufacturer.

From Page Scripts to Platform

JavaScript's role expanded as developers began building websites that behaved more like traditional software applications. On February 18, 2005, Jesse James Garrett introduced the term Ajax in his essay Ajax: A New Approach to Web Applications. The term described an approach that combined JavaScript with asynchronous communication and other existing web technologies, allowing portions of a page to update without requiring a complete reload. Early applications such as Gmail and Google Maps demonstrated the possibilities.

Development tools evolved alongside those applications. John Resig released jQuery in 2006, helping developers simplify common scripting tasks and manage differences between browsers. In September 2008, Google introduced Chrome with its V8 JavaScript engine, further expanding the performance possibilities of browser-based applications.

Server-side JavaScript had existed since Netscape's early experiments, but Node.js gave the idea renewed momentum. Ryan Dahl introduced Node.js in 2009 and presented the project at JSConf Europe in Berlin that November. Built around Google's V8 JavaScript engine, Node.js helped popularize using JavaScript for network applications and server-side development.

The language and its surrounding ecosystem continued to evolve. Microsoft publicly introduced TypeScript in October 2012, providing a language built on JavaScript with additional type-checking capabilities. ECMAScript 2015 introduced major language features, including arrow functions, block-scoped declarations using let and const, class syntax, and standardized promises. JavaScript had grown from a small browser scripting language into the foundation of a much broader software-development ecosystem.

Ten days of code, a borrowed name,
A page that learned to hear a click—
From quiet form to living app,
The Web began to turn more quick.

The first version of the story is simple: a young engineer built a language in ten days, and the Web changed. The record is more modest and more interesting. A prototype in May, a name from the fall, a marketing partnership in December, a rival copy in 1996 and a standard in 1997 all contributed. By the time JavaScript had a formal name, it was no longer one person's work.

Thirty-one years later, the language announced as a companion to Java runs in browsers and outside them, and December 4, 1995, remains the date it was introduced to the public under its permanent name.

Sources