Which came first, the iPhone or JavaScript?
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
- the Great Pyramid of Giza or the iPhone? the Great Pyramid of Giza
- Apple or JavaScript? Apple
- the internet (ARPANET) or JavaScript? the internet (ARPANET)
- the internet (ARPANET) or the iPhone? the internet (ARPANET)
- email or JavaScript? email
- email or the iPhone? email
- Java or JavaScript? Java
- JavaScript or Microsoft? Microsoft
- JavaScript or the Macintosh? the Macintosh
- JavaScript or Windows? Windows
- JavaScript or the World Wide Web? the World Wide Web
- JavaScript or Python? Python
Sources
- Wikidata — Wikimedia Foundation (CC0 1.0)