BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveMetaverse

JavaScript

JavaScript is a programming language created at Netscape in 1995 to let authors give Web documents behaviour. It developed from Brendan Eich's Mocha prototype, reached public browser betas as LiveScript, and acquired the name JavaScript through Netscape's partnership with Sun Microsystems. The language was eventually standardised as ECMAScript. Its history intersects HotJava, ViolaWWW, Hypertext, and the later question of how a digital document becomes an executable environment.

JavaScript was not a version of the Java language. The similarity of names was intentional commercial positioning, whereas the two languages have different type systems, object models and execution histories. Nor was JavaScript the first way to make a Web page interactive: ViolaWWW had earlier executable applets, and HotJava was already distributing Java bytecode. What changed was the prospect of ordinary HTML authors writing lightweight scripts directly into the documents their visitors opened. Netscape and Sun, 4 December 1995 — contemporary joint release reproduced in a 5 December Usenet discussion · Wirfs-Brock and Eich, 2020 — retrospective history by the original implementer and a standards participant

May 1995: Mocha inside Netscape

In a later first-person history co-authored with standards editor Allen Wirfs-Brock, Brendan Eich dates his arrival at Netscape to 3 April 1995 and the first Mocha implementation to May. The paper explains that Netscape wanted a relatively approachable scripting language to complement, rather than compete head-on with, the Java applets it was planning to support. The famous ten days describe an initial working implementation and internal demonstration. Eich spent subsequent months integrating and revising the language for the browser. The precise start and end days of that sprint are recollections, not independently established build dates. ''JavaScript: The First 20 Years'', corrected author version, 2021 — later first-party and participant research · Wirfs-Brock's description of the research and corrected edition, 12 March 2020 — first-party historiography

The design combined several sources. Java and C-family syntax helped the new language resemble the fashionable network programming language. The Scheme influence appears in functions treated as values; Self informed its prototype-based objects. The resulting language had a different architecture from Java's class-oriented, statically typed programming model. These influences and the commercial discussions behind them are reconstructed by the participants decades later; the December 1995 announcement primarily describes the intended product role rather than the detailed language ancestry. Wirfs-Brock and Eich — retrospective technical history · Netscape/Sun original press text, 4 December 1995 — contemporary positioning

September–November 1995: LiveScript was a preview

The earliest public period should not be collapsed into a finished release. Contemporary reporting on 25 September 1995 said Netscape had announced Navigator 2.0 and that its first betas were expected soon. That was reporting a product announcement and timetable, not an independently tested complete scripting engine. Eich's later account dates the first public beta carrying LiveScript to September. ''TidBITS'', 25 September 1995 — contemporary secondary report · Wirfs-Brock and Eich — later participant chronology

On 13 November 1995, a reporter who had examined Navigator 2.0 beta 2 described LiveScript support as preliminary, with significant parts of the planned language missing and the implementation subject to change. The same report called the feature a Netscape-specific extension rather than an existing shared Web standard. This is contemporary independent evidence against projecting the behaviour of mature JavaScript backward onto the 1995 beta. Geoff Duncan, ''TidBITS'', 13 November 1995 — contemporary assessment

4 December 1995: a new name and an ambitious announcement

On 4 December 1995, Netscape and Sun jointly announced JavaScript as the new name and presented it as a complement to Java. A copy of their original text was circulated in the Usenet group comp.lang.java on 5 December 1995. The release said an initial implementation was already available in a Navigator 2.0 beta and counted endorsements from 28 companies. It also promised to submit a proposed open standard, naming the W3C and IETF as intended destinations. An announcement of a planned submission is not evidence of a ratified standard that month. Usenet copy of Netscape/Sun press release, dated 4 December 1995 — contemporary first-party text in a contemporary repost

The announcement's own examples are revealing. An HTML form could calculate a loan payment locally; JavaScript could coordinate the behaviour of Java applets; a server-side script could retrieve database information and produce HTML. Netscape named Navigator Gold, LiveWire and LiveWire Pro as tools in this larger plan. Those examples mix an already exposed browser beta, proposed applications and company product intentions. They do not demonstrate that every described client/server integration was operational and interoperable on 4 December. December 1995 release — first-party contemporary product claims

It would be misleading to describe this launch solely as a new way to animate pages. The two companies were proposing a client, server and application-tool environment around executable Web documents. Conversely, the label “open” in a press release does not establish which source-code implementation was actually distributed under which licence. That is a separate archival question.

1996–1997: from one company's extension to a standard

Netscape's original implementation was quickly followed by Microsoft's JScript, used in Internet Explorer 3 in 1996. Even where two browsers accepted similar language syntax, browser objects, built-in behaviour and versions could differ. The original problem was therefore not merely teaching authors to write scripts, but establishing what independent engines had to agree upon. ECMA-262, first edition, historical preface — contemporary standard · Wirfs-Brock and Eich — later participant account of the implementation rivalry

The standards work began in November 1996, according to both the first edition's history and Ecma International's later retrospective, which points to the surviving first TC39 meeting minutes. The Ecma General Assembly approved ECMA-262 in June 1997; the final editing and publication followed in September 1997. These are separate milestones, not contradictory birthdays for a single release. The name ECMAScript was chosen amid trademark and naming difficulties. Original ECMA-262 first edition, June 1997 — standard text · Ecma International, 18 September 2017 — later institutional account of 1996–97 minutes

The '''first edition's scope** is especially important. It specified the programming language while acknowledging a **host environment''' that supplied additional objects and services. A Web browser can supply document and window operations; a server can supply different services. A program written in ECMAScript therefore need not have the same observable behaviour in every host, even when the core language is recognised. ECMA-262 first edition, sections 4–4.3 — contemporary specification · Netscape-origin ''Client-Side JavaScript Guide'' preserved by Oracle — later vendor documentation distinguishing core, browser and server

What a document could do

A linked document can refer to another document; a scripted document can also react to inputs, calculate results and change what the visitor sees. With JavaScript, the source text could be delivered alongside HTML and interpreted by a compatible browser. That changed what authors could construct without compiling and distributing a separate native application.

This did not make a Web page self-sufficient. The script depended on an interpreter, a particular set of browser capabilities, permission boundaries and sometimes external services. Netscape's preserved guide makes the separation explicit: core language, client-side browser objects and server-side host objects are not interchangeable. Netscape-origin client-side guide — vendor description of the execution model

This is one reason the early history of HyperCard, ViolaWWW, HotJava and JavaScript should not be read as a neat sequence in which each new tool simply replaced the previous one. HyperCard paired scripting with authored stacks; Viola explored programmable browser documents; HotJava delivered compiled Java bytecode; JavaScript let the HTML author express lightweight behaviour in a language meant to fit the Web page itself. They made different trade-offs about authoring, distribution, portability and execution authority.

Preservation and the persistent-world question

A surviving JavaScript source file can preserve the instructions, but not necessarily the complete application. The interpreter's version matters. The browser's exposed objects and security model matter. If the script calls remote APIs, those services matter too. The first ECMA-262 edition codified a portable core but did not freeze every browser extension or historical host environment.

The parallel with Ordinal recursion and Open Ordinal is architectural, not genealogical. An inscription can identify and preserve program bytes while a renderer still decides how to fetch dependencies and which execution APIs to provide. Object permanence, program compatibility and service continuity are separate problems. The 1995 JavaScript story also warns against confusing a product demonstration, an announced standard, a published standard and a complete usable world.

Open research

Open question
Recover and checksum an original September 1995 Navigator 2.0 beta package and distinguish what its LiveScript parser could actually execute from features only promised in September or documented in November.
Open question
Identify the first independently inspectable public JavaScript source implementation or specification corresponding to Netscape and Sun's December 1995 promise, including its actual licence and distribution date.
Open question
Reconstruct which JavaScript-to-Java applet and server-side LiveWire integrations demonstrably worked in the first released browser and server versions, rather than adopting the press release's entire proposed architecture as shipped.
Open question
Compare surviving Navigator 2.0 scripts with the first 1997 ECMAScript specification and later browser DOMs to record precisely which dependencies are needed to execute them faithfully today.

See also