--- title: "Which came first, JavaScript or YouTube?" description: "JavaScript vs YouTube: JavaScript came first, by 10 years — 1995 against 2005. What happened in each case, and why the dates are often given differently." url: https://atoneplace.net/which-came-first/javascript-vs-youtube/ site: "At One Place" --- # Which came first, JavaScript or YouTube? **Which came first, JavaScript or YouTube?: JavaScript** 1995 — 10 years before YouTube JavaScript came first, by 10 years. Brendan Eich wrote it in ten days for Netscape Navigator. ## Side by side | | JavaScript | YouTube | | --- | --- | --- | | Year | 1995 | 2005 | | Date | — | 2005-02-14 | | Category | technology | technology | | What happened | Brendan Eich wrote it in ten days for Netscape Navigator. | The domain was registered; the first video followed in April. | ## 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. ## YouTube The youtube.com domain was registered on Valentine's Day 2005, the first video — "Me at the zoo", 19 seconds of a co-founder at San Diego Zoo — was uploaded on 23 April, and the site opened publicly in the winter. Google bought it in November 2006 for $1.65 billion, about twenty months after the domain was registered. It is younger than Facebook by a year and older than Twitter by one. ## Common questions ### Which came first, JavaScript or YouTube? JavaScript, by 10 years — 1995 against 2005. ### When did JavaScript start? 1995. Brendan Eich wrote it in ten days for Netscape Navigator. ### When did YouTube start? 2005. The domain was registered; the first video followed in April. ## Related pages - [Apple or JavaScript?](https://atoneplace.net/which-came-first/apple-vs-javascript/) - [the internet (ARPANET) or JavaScript?](https://atoneplace.net/which-came-first/arpanet-vs-javascript/) - [the internet (ARPANET) or YouTube?](https://atoneplace.net/which-came-first/arpanet-vs-youtube/) - [email or JavaScript?](https://atoneplace.net/which-came-first/email-vs-javascript/) - [email or YouTube?](https://atoneplace.net/which-came-first/email-vs-youtube/) - [the Macintosh or YouTube?](https://atoneplace.net/which-came-first/macintosh-vs-youtube/) - [Windows or YouTube?](https://atoneplace.net/which-came-first/windows-vs-youtube/) - [the World Wide Web or YouTube?](https://atoneplace.net/which-came-first/world-wide-web-vs-youtube/) - [Python or YouTube?](https://atoneplace.net/which-came-first/python-vs-youtube/) - [Java or JavaScript?](https://atoneplace.net/which-came-first/java-vs-javascript/) - [Java or YouTube?](https://atoneplace.net/which-came-first/java-vs-youtube/) - [JavaScript or Microsoft?](https://atoneplace.net/which-came-first/javascript-vs-microsoft/) ## Sources - Wikidata — Wikimedia Foundation (https://www.wikidata.org/) [CC0 1.0]