May 1995

JavaScript prototyped at Netscape

Brendan Eich built the first Mocha prototype in ten days in May 1995 for scriptable web pages in NetscapeA commercial web browser company — Navigator defined the early consumer web. Navigator.

What it was for

JavaScriptJavaScript runs inside the web browser to make pages interactive — validate a form before submit, swap menu tabs, fetch data without reloading. Today it also powers servers (Node.jsA JavaScript runtime built on V8 — event-driven I/O for servers, CLIs, and tooling.), mobile apps (ReactA JavaScript library for building UIs — component trees and declarative rendering for the web. Native), and most front-end frameworks. In 1995 it was mainly: buttons, alerts, and simple page behavior.

Companies

  • Netscape

Why it's here

This hack became the language of the browser and eventually one of the most used languages on Earth.

Why it mattered

It made web pages reactive without JavaA portable language running on the JVM — dominant in enterprise servers, Android, and big data. applets or server round-trips for every interaction.

What it solved

HTMLHyperText Markup Language — the standard markup for structuring web pages. alone could not respond to users; NetscapeA commercial web browser company — Navigator defined the early consumer web. needed an embeddable scripting language fast.

Media

  • JavaScript
    ImageJavaScript

    Unknown authorUnknown author, Public domain, via Wikimedia Commons

Related