SlideShare a Scribd company logo
Modern JavaScript Features
@kunalkursija
Kunal Kursija
Mumbai, Maharashtra India
Drupal Developer @ Axelerant
Drupal: https://www.drupal.org/u/kunalkursija
LinkedIn: https://in.linkedin.com/in/kunalkursija
Some Terminologies…
JavaScript
• A Scripting Language that was initially created to run on web browsers.
• Applications:
JavaScript Engine
• It’s a program that understands and executes the JavaScript code.
• Examples:
• Chrome: V8
• Mozilla: SpiderMonkey
• Microsoft: Chakra
• FitBit: JerryScript
ECMAScript
• ECMAScript is a standard created by ECMA International.
• JavaScript engines across the world stick to follow ECMAScript as a standard.
JavaScript vs ECMAScript
• JavaScript is the best known Implementation of ECMAScript.
• You know ECMAScript standards/specifications - You know how to create a scripting language.
• You know JavaScript - You know how to use a scripting language.
ECMAScript Versions
Version Name Year
ES1 1997
ES2 1998
ES3 1999
ES5 2009
ES6 (ES2015) 2015
ES7 (ES2016) 2016
ES8 (ES2017) 2017
ES9 (ES2018) 2018
ES10 (ES2019) 2019 (yet to be released)
And, Modern JavaScript Features…
var
Scope Declaration - Assignment - Redeclaration Hoisting
let
Scope Declaration - Assignment - Redeclaration Hoisting
const
Scope Declaration - Assignment - Redeclaration Hoisting
Template Literals
• Template literals are strings that
allows embedding of expressions into
strings.
• We use back-tick(`) and not single
quotes(‘) or double quotes(“).
• Multi-lines work.
Arrow Functions
ES6
ES5
Array Destructuring
Array Destructuring is a JavaScript expression that makes it possible to unpack values from arrays into
distinct variables.
ES5 ES6
Object Destructuring
Object Destructuring is a JavaScript expression that makes it possible to unpack values from objects into
distinct variables.
ES5 ES6
Spread Operator
Spread parameter can be used to expand the the values of an array.
ES5
ES6
Rest Parameter
● The Rest Parameter syntax allows us to represent an indefinite number of arguments as an array.
● Rest parameter must always be at the end.
ES5 ES6
Classes and Inheritance
Modules
• Exporting Modules = Making some functionality available for other modules to use.
• Importing Modules = Reusing some functionality provided by other modules.
export.js import.js
Promises
• The Promise is an object, Which represents the eventual completion (or failure) of an asynchronous
operation, and its resulting value.
Questions?
22
Thank You!
23

More Related Content

PPTX
Typescript in 30mins
PDF
Play with elm - Choucri fahed, Finstack - Lambadays
PPTX
JavaScript Fundamentals
PPTX
TypeScript Modules
PDF
JScala. Write your JavaScript in Scala
PPTX
Scala-Ls1
PPT
Learning typescript
Typescript in 30mins
Play with elm - Choucri fahed, Finstack - Lambadays
JavaScript Fundamentals
TypeScript Modules
JScala. Write your JavaScript in Scala
Scala-Ls1
Learning typescript

What's hot (19)

PPTX
Object oriented programming
PPT
Indic threads pune12-akka-actors
PPTX
Akka - young fighter course
PPTX
Java Programming Important Topics
PDF
Always bet on JS - Finjs.io NYC 2016
PPTX
Journey To The Front End World - Part3 - The Machine
PPTX
Angular, ASP.NET Core, and Visual Studio Code - Oh My!
PPTX
Constructors in java
PPTX
Typescript 101 introduction
PDF
Modern js in practice
PDF
Diving Into Scala Cats - Semigroups and Monoids
PDF
Java Script Design Patterns with ES6, ES7, Babel
PDF
Spring presentation By Chandan Sharma
PPTX
Fundamentals of Akka - Webinar
PDF
How to run WebAssembly in your React Web Application
PDF
Training Slides: 254 - Using the Tungsten Replicator AMI
PPTX
Typescript
PDF
Embedjs
Object oriented programming
Indic threads pune12-akka-actors
Akka - young fighter course
Java Programming Important Topics
Always bet on JS - Finjs.io NYC 2016
Journey To The Front End World - Part3 - The Machine
Angular, ASP.NET Core, and Visual Studio Code - Oh My!
Constructors in java
Typescript 101 introduction
Modern js in practice
Diving Into Scala Cats - Semigroups and Monoids
Java Script Design Patterns with ES6, ES7, Babel
Spring presentation By Chandan Sharma
Fundamentals of Akka - Webinar
How to run WebAssembly in your React Web Application
Training Slides: 254 - Using the Tungsten Replicator AMI
Typescript
Embedjs
Ad

Similar to Modern java script features (20)

PPTX
Next-generation JavaScript - OpenSlava 2014
PPT
Web development basics (Part-7)
ODP
Scala's evolving ecosystem- Introduction to Scala.js
PDF
Javascript pdf for beginners easy levell
PPT
Introduction to JavaScript
PPTX
React & Redux JS
PPTX
WTA-MODULE-4.pptx
PPTX
Javascript best practices
PDF
Before you jump into Angular
PDF
Angular - Chapter 2 - TypeScript Programming
PPTX
Web technologies-course 07.pptx
PPTX
Scala Italy 2015 - Hands On ScalaJS
PPTX
Alberto Paro - Hands on Scala.js
PPTX
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
PPTX
concept of server-side JavaScript / JS Framework: NODEJS
PPTX
FRONTEND BOOTCAMP Session 2.pptx
PPTX
JavaScript, VBScript, AJAX, CGI
PDF
Typesafe stack - Scala, Akka and Play
PPTX
js.pptx
PDF
Getting started with CATIA V5 Macros
Next-generation JavaScript - OpenSlava 2014
Web development basics (Part-7)
Scala's evolving ecosystem- Introduction to Scala.js
Javascript pdf for beginners easy levell
Introduction to JavaScript
React & Redux JS
WTA-MODULE-4.pptx
Javascript best practices
Before you jump into Angular
Angular - Chapter 2 - TypeScript Programming
Web technologies-course 07.pptx
Scala Italy 2015 - Hands On ScalaJS
Alberto Paro - Hands on Scala.js
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
concept of server-side JavaScript / JS Framework: NODEJS
FRONTEND BOOTCAMP Session 2.pptx
JavaScript, VBScript, AJAX, CGI
Typesafe stack - Scala, Akka and Play
js.pptx
Getting started with CATIA V5 Macros
Ad

More from Kunal Kursija (7)

PDF
Spick and span php unit tests using data providers
PDF
Php 8: String Helpers
PDF
Decoupling entity validations from entity forms
PDF
Decoupling entity-validations from entity-forms
PDF
Modern JavaScript features
PDF
Symfony and Drupal 8
PDF
DrupalCamp Mumbai 2017: Drupal 8 and Commerce 2.x
Spick and span php unit tests using data providers
Php 8: String Helpers
Decoupling entity validations from entity forms
Decoupling entity-validations from entity-forms
Modern JavaScript features
Symfony and Drupal 8
DrupalCamp Mumbai 2017: Drupal 8 and Commerce 2.x

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Network Security Unit 5.pdf for BCA BBA.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
Programs and apps: productivity, graphics, security and other tools
20250228 LYD VKU AI Blended-Learning.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Big Data Technologies - Introduction.pptx
sap open course for s4hana steps from ECC to s4
The Rise and Fall of 3GPP – Time for a Sabbatical?
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation_ Review paper, used for researhc scholars
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectral efficient network and resource selection model in 5G networks
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Network Security Unit 5.pdf for BCA BBA.
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity

Modern java script features