Contents

A Comprehensive Guide To JavaScript

/a-comprehensive-guide-to-javascript/thumbnail.png
JS Comprehensive Guide

JavaScript is a cross-platform scripting language which powers the web. Its the thing that makes the web pages interactive (having complex animations, clickable buttons, popup menus, etc.).

History

It was developed by Brendan Eich in 1995 with a goal of powering the Netscape browsers. Although it was developed under the name Mocha, the language was officially called LiveScript when it was first shipped in beta releases but later was renamed to JavaScript when it was deployed in the Netscape Navigator 2.0 beta 3 in December. The name Javascript was said to given as they initially wanted to complement java (marketing schema). In November 1996, Netscape submitted JavaScript to ECMA International to carve out a standard specification, which other browser vendors could then implement based on the work done at Netscape. This led to the official release of the language specification published in the first edition of the ECMA-262 standard in June 1997, with JavaScript being the most well known of the implementations. ActionScript and JScript were other well-known implementations of ECMAScript.:

ECMAScript Versions

  • 1st version — June 1997,
  • 2nd version — June 1998,
  • 3rd version — June 1999
  • 4th Edition (abandoned)
  • 5th Edition
  • 6th Edition — ECMAScript 2015 (ES6)
  • 7th Edition — ECMAScript 2016
  • 8th Edition — ECMAScript 2017
  • 9th Edition — ECMAScript 2018
  • ES.Next
ES.Next
ES.Next is a dynamic name that refers to whatever the next version is at time of writing. ES.Next features are more correctly called proposals, because, by definition, the specification has not been finalized yet.

Present

Nowadays Javascript runs on any device that has a JavaScript Engine; an embedded engine sometimes called as “JavaScript virtual machine”.

Engines Codename:
Engines have their own codename:

  • V8 in Chrome and Opera
  • SpiderMonkey in Firefox
  • ChakraCore for Microsoft Edge,
  • Nitro and SquirrelFish for Safari, etc.

The engine basic task is to read and parse the script and then compile into machine language. Additionally, it also does a complex task and provides a lot of features.

Although Javascript was initially created as a browser-only language, now its dominance is showing to take over the world by storm. You can also check more on - Quick guide to NodeJS and node vs javaScript.

Getting Started

1. Understand the Basics HTML-CSS

If you are completely new then before moving forward, you should learn the core concept of the web; the structure (HTML) and the style (CSS).

/a-comprehensive-guide-to-javascript/basics01.jpeg
Html Css Basics

I will list out some of the best places to learn these:

2. Learn Javascript Fundamentals

JavaScript Core Concepts:

If I have to Summarize the list:

  • ES5, ES6… Features (let, const, Arrow function, Spread operator, Destructuring )
  • Array Manipulation
  • Javascript Hoisting
  • Web Apis
  • Synchronous / Asynchronous
  • Callbacks, Promises
  • Scope
  • Timers
  • This
  • Closures
  • Prototypal Inheritance
  • Execution Context
  • Single Threaded, Event Loop
  • and goes on ……….

3. Choose a Path for Future

Picking a Framework can be a Best option Here:

  1. React - Easy to start
  2. Angular
  3. Vue

https://raw.githubusercontent.com/kamranahmedse/developer-roadmap/master/img/frontend.png
Frontend developer roadmap

You can find a Complete Web Developer Roadmap Here.