Introducing JavaScript
Get a brief introduction to JavaScript.
We'll cover the following
History of JavaScript
JavaScript is first and foremost the programming language of the web. It was invented in 1995 by
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
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
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
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).