Introducing JavaScript

Get a brief introduction to JavaScript.

History of JavaScript

JavaScript is first and foremost the programming language of the web. It was invented in 1995 by Brendan EichHe is an American computer programmer. He co-founded the Mozilla project, the Mozilla Foundation, and the Mozilla Corporation., who at the time worked for NetscapeIt was an American independent computer services company with headquarters in Mountain View, California., which created the first popular web browser (Firefox’s ancestor).

A browser is the software you use to visit webpages and use web applications. JavaScript should not be confused with Java, another language invented at the same time! Both share a similar syntax, but their use cases and “philosophies” are very different. The idea behind JavaScript was to create a simple language to make web pages dynamic and interactive, since back then, pages were very simple.

Web builders started gradually enriching their pages by adding JavaScript code. For this code to work, the recipient web browser (the software used to surf the web) had to process JavaScript. This language has been progressively integrated into browsers, and now all browsers are able to handle it!

Because of the explosion of the Web and the advent of web 2.0 (based on rich, interactive pages), JavaScript has become increasingly popular. Web browser designers have optimized the execution speed of JavaScript, which means it’s now a very fast language. This led to the emergence of the Node.jsIt is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine. platform, which allows you to create JavaScript applications outside the browser. Thanks to software called MongoDBIt is a cross-platform, document-oriented database program. Classified as a NoSQL database program., JavaScript has even entered the database world (software whose role is to store information).

Finally, the popularity of smartphones and tablets with different systems (iOS, Android, Windows Phone) has led to the emergence of so-called cross-platform development tools. They allow you to write a single mobile application that’s compatible with these systems. These tools are almost always based on JavaScript!

JavaScript: An essential language

In short, JavaScript is everywhere. It sits on top of a rich ecosystem of componentsSmall software bricks that you can easily plug into your project. and a vibrant developer community. Knowing it will open the doors of web browser-side programming (front-end development), server-side development (backend), and mobile development. A growing number of people see JavaScript as the most important technology in software development nowadays.

Both ubiquitous and still relatively easy to learn, JavaScript is also a great choice as a first language for learning programming.

Version used in this course

JavaScript was standardized in 1997 under the name ECMAScriptIt is a general-purpose programming language. It is a JavaScript standard meant to ensure the interoperability of web pages across different web browsers. Since then, the language has undergone several rounds of improvements to fix some awkwardness and support new features.

This course uses the most recently standardized version of JavaScript. This version brings a lot of interesting novelties to the table. It is now well supported by most environments and platforms, starting with web browsers (more details in this compatibility table).