At One Place

Which came first, the iPhone or JavaScript?

Which came first, the iPhone or JavaScript?
JavaScript
1995 — 12 years before the iPhone

JavaScript came first, by 12 years. Brendan Eich wrote it in ten days for Netscape Navigator.

Side by side

the iPhone JavaScript
Year 2007 1995
Date 2007-06-29
Category technology technology
What happened The first iPhone went on sale after a January announcement. Brendan Eich wrote it in ten days for Netscape Navigator.

the iPhone

Announced on 9 January 2007 and on sale from 29 June, the first iPhone had no app store, no copy and paste, no 3G and no video recording. The App Store arrived over a year later in July 2008. Android Inc. had been founded in 2003, four years before the iPhone, but the first Android phone shipped fifteen months after it.

JavaScript

JavaScript was written in about ten days in May 1995, shipped in Netscape Navigator 2.0 later that year, and was called LiveScript until December, when Netscape renamed it as part of a marketing deal with Sun. It has nothing to do with Java beyond some borrowed syntax. Standardisation as ECMAScript followed in 1997, and the language spent a decade being treated as a toy before it became the most widely deployed programming language in the world.

Common questions

Which came first, the iPhone or JavaScript?
JavaScript, by 12 years — 1995 against 2007.
When did the iPhone start?
2007. The first iPhone went on sale after a January announcement.
When did JavaScript start?
1995. Brendan Eich wrote it in ten days for Netscape Navigator.

Related pages

Sources

  1. Wikidata — Wikimedia Foundation (CC0 1.0)

How these figures are compiled and checked