concept
- JavaScript (JS) is a high-level, interpreted programming language. It supports object-oriented programming, imperative programming, and functional programming.
- It is used by the vast majority of the world’s websites, supported by major browsers, can be used for game, desktop and mobile application development, and can run in server-side network environments (such as Node.js).
- JavaScript and Java share many similarities in name or syntax, but the two programming languages have been very different from each other since the beginning of their design. JavaScript’s language design is largely influenced by Self and Scheme. It also has a lot in common with C in syntactic structure.
history
- JS started with Netscape
In 1995, Brendan Ek was recruited by Netscape with the goal of embedding The Scheme language into the then-popular Netscape browser. After a change of heart, Brendan designed a prototype of an auxiliary scripting language to work with Java in just ten days. The company named the language JavaScript to match Java’s programming language buzz.
- Microsoft to follow up
That same year, Microsoft launched Internet Explorer for the first time and created JScript, sparking browser wars with Internet Explorer and Netscape.
- JS standardization
In November 1996, Netscape formally submitted language standards to ECMA (European Computer Manufacturers Association). In June 1997, ECMA developed the ECMAScript standard specification based on the JavaScript language.
- Netscape was acquired
Netscape was losing ground in the browser race because Internet Explorer was bundled with Windows, making the browser open source didn’t help, and some components of the browser couldn’t be open sourced due to third-party licensing issues. Mozilla, the organization responsible for the project, decided to redesign the browser. In 1998, Netscape was acquired by AOL.
- IE6 hot
In 2001, IE 6 was released with Windows XP. In 2004, IE 6 accounted for more than 80% of the browser market, despite poor compatibility and security vulnerabilities.
- Microsoft slack
The huge success of IE 6 was that Microsoft felt it no longer had any competition, so it simply disbanded the IE 6 development team, leaving only a small number of staff to carry out routine maintenance.
- Mozilla regrouped
Mozilla Firefox (originally named Phoenix) was launched in 2002. Between 2004 and 2008, Mozilla released the official Version of Firefox and updated it several times, with each major update bringing many new features and improvements.
- JavaSript rise
When Google launched Gmail in 2004, users and developers alike were impressed. In 2005, Jesse James Jarrett proposed the concept of AJAX (Asynchronous Javascript And XML) by combining several browser-side web development technologies. In 2006, John Reisig released jQuery, which is currently the longest-lived JS code library.
- Chrome came out of nowhere
In 2008, Google released Chrome. (In 2011, Chrome overtook Firefox.)
- Outbreak of JavaScript
In 2009, Ryan Dahl created Node.js based on V8, Chrome’s JS engine. In 2010, Isaac Schluter wrote NPM based on Node.js. That same year, TJ Holowaychuk released Express.js, inspired by Sinatra. In addition, many other technologies have emerged.
- The rise of smartphones
In 2011, Nokia struck a deal with Microsoft to use Windows for its phones, but the results were dismal. In 2016, Taobao Tmall announced that it would no longer support Internet Explorer 6, Internet Explorer 7 and Internet Explorer 8. The rise of mobile terminals has led to rapid development of the front end.