Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
20 views
Undestanding Modern JavaScript
Uploaded by
mrfix
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Undestanding Modern JavaScript For Later
Download
Save
Save Undestanding Modern JavaScript For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
20 views
Undestanding Modern JavaScript
Uploaded by
mrfix
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Undestanding Modern JavaScript For Later
Carousel Previous
Carousel Next
Save
Save Undestanding Modern JavaScript For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 9
Search
Fullscreen
a davidlwebdev » © JavaScript ) Understanding MODERN JAVASORIPT. / . ot What is ECMAScript? ) ECMAScriptis a scripting language specification and it determines how JavaScript works and what new features it should have. Features are usually released incrementally each year to ensure smooth updates to the JavaScript programming language. The most notable release of the ES standard was done in the year 2015, with the release of ES6, which brought a lot of the amazing JavaScript features we use today in modern code. This post will help you explore and understand the shifts in the JavaScript programming language throughout the years, showcasing key features that have been part of past releases. Let’s get started!ee ES6 (2015) ‘) The biggest year for JavaScript, this release includes some really important updates that any JS developer should know! Key Features The let & const keywords for variable declaration Template Literals | Destructuring Spread Syntax } New Array Iteration Promises | Classes & Modules oY Arrow Functions | Default Parameters This update changed JavaScript by a lot, so let’s see how it compares to the old version (ES5 - Released in 20T1)ES5 VS ES6 1. Template Literals eae steeeC oe let second = ‘webdev'; eRe) eo ae Co amass Pert see. 2. Destructuring const list = [4 ae st ae eCad Caer eee a t [one, two, ...rest] = list; console. log(one, two, rest); 3. New Array Iteration const list = [4, 5, 6]; Peres tcrr rreeo for (i of list) Corer 5 Embed expressions in strings with a cleaner syntax! Unpack values from arrays or properties from objects into distinct variables! Heavily used in React Asimpler and more declarative way to iterate over arrays.ES7 (2016) Key Features a _ Array.prototype.includes() ist list = ['bread', ‘cheese’, ‘ham']; Anew, easy way to check if an array yet) includes a certain el h ea) value Anew math operator which returns the result of the first operand raised to the power of the second operand NextESS (2017) Key Features é Object.values() & Object.entries() const person = { name: ‘Matt’, age: 23 }; Pee CaS aee se CH eT STL Pee en @ Same CD @ ~ | Trailing Commas a cant A Trailing commas allow us to add new lines to Crt UC aaan an object without having to modify the previous line since it already has acomma Pee = | String .padStart() & padEnd() methods 4 > Asynchronous Functions (Async/Await)ES9 (2018) Key Features Asynchronous Generators & Iterators a > Object Rest & Spread Operators SFL reas st obj2 = { three: 30 } An easier way to clone, combine and work with objects in general! st clone = { Shand obj3 = { ...obj1, ...0bj2 } Promise.prototype.finally() - : RegExp Features (Named Capture Groups, dotAll)Ms ES10 (2019) Key Features Array.flat() & Array.flatMap() a > Object.fromEntries() Create objects from an array of entries! String -trimStart() & trimEnd() methods i Optional Catch Binding (Catch Block Error Param)- ESM (2020) Key Features Private Class Variables Presta Private class variables are ag console.log(2022 - this.#birthyear declared using a hash in i front of the variable or function name. Accessing const david = new Person() david. age() them outside the class console. log(david.#birthyear) will throw an error. 4 Promise.allSettled() method i » | String.prototype.matchAll() Optional Chaining Operator let car = { color: 'red' }; ae ese eee Tees Co console. interiorColor); Prevent errors in your code by using optional chaining!
You might also like
Exploring JavaScript (2024)
PDF
100% (1)
Exploring JavaScript (2024)
1,163 pages
Chapter 8
PDF
No ratings yet
Chapter 8
67 pages
Swift 5.1 Cheatsheet 1.0
PDF
No ratings yet
Swift 5.1 Cheatsheet 1.0
4 pages
All about ECMAScript.
PDF
No ratings yet
All about ECMAScript.
15 pages
Unit1ECMAScript6pptx__2024_07_13_14_29_17 (4)
PDF
No ratings yet
Unit1ECMAScript6pptx__2024_07_13_14_29_17 (4)
33 pages
Exploring
PDF
100% (1)
Exploring
20 pages
Javascript Basics Better Presentation
PDF
No ratings yet
Javascript Basics Better Presentation
33 pages
JavaScript ES6_ Comprehensive Guide
PDF
No ratings yet
JavaScript ES6_ Comprehensive Guide
8 pages
Js Useful Tips
PDF
No ratings yet
Js Useful Tips
31 pages
Modern Web Development PDF
PDF
100% (1)
Modern Web Development PDF
412 pages
javascript ECMCA Interview Q
PDF
No ratings yet
javascript ECMCA Interview Q
31 pages
Lecture 7.2 - Introduction to Modern Javascript (4)-p1i71n6qb0edn1jii190mnd4
PDF
No ratings yet
Lecture 7.2 - Introduction to Modern Javascript (4)-p1i71n6qb0edn1jii190mnd4
43 pages
Learning ECMAScript 6 - Sample Chapter
PDF
No ratings yet
Learning ECMAScript 6 - Sample Chapter
40 pages
JavaScript PDF
PDF
No ratings yet
JavaScript PDF
319 pages
Week 14
PDF
No ratings yet
Week 14
9 pages
React Master - Notes - Student copy
PDF
No ratings yet
React Master - Notes - Student copy
121 pages
Javascript Intermediate - Slides
PDF
No ratings yet
Javascript Intermediate - Slides
712 pages
Javascript Grammar
PDF
100% (1)
Javascript Grammar
246 pages
Javascript On-Demand Dictionary
PDF
No ratings yet
Javascript On-Demand Dictionary
199 pages
React
PDF
No ratings yet
React
40 pages
ES6 and Fundamentals of Web Development
PDF
No ratings yet
ES6 and Fundamentals of Web Development
98 pages
Dokumen - Pub - Javascript For Impatient Programmers Z 5657019
PDF
100% (1)
Dokumen - Pub - Javascript For Impatient Programmers Z 5657019
872 pages
Immediate download (Ebook) Get Programming with JavaScript Next - New features of ECMAScript 2015, 2016, and beyond by JD Isaacks ISBN 9781617294204, 1617294209 ebooks 2024
PDF
100% (2)
Immediate download (Ebook) Get Programming with JavaScript Next - New features of ECMAScript 2015, 2016, and beyond by JD Isaacks ISBN 9781617294204, 1617294209 ebooks 2024
67 pages
Introduction Iid
PDF
No ratings yet
Introduction Iid
85 pages
New Microsoft Word Document
PDF
No ratings yet
New Microsoft Word Document
9 pages
Why Should I Learn ES6?: Classes
PDF
No ratings yet
Why Should I Learn ES6?: Classes
7 pages
Javascript Handbook
PDF
100% (1)
Javascript Handbook
171 pages
Module2 JS
PDF
No ratings yet
Module2 JS
67 pages
2 Introduction to JavaScript and ES6
PDF
No ratings yet
2 Introduction to JavaScript and ES6
9 pages
APWT02
PDF
No ratings yet
APWT02
43 pages
Objects-Classes
PDF
No ratings yet
Objects-Classes
108 pages
ES6 Introduction
PDF
No ratings yet
ES6 Introduction
65 pages
Js Book
PDF
No ratings yet
Js Book
405 pages
JavaScript-4 Ajax
PDF
No ratings yet
JavaScript-4 Ajax
53 pages
ES6 JavaScript
PDF
No ratings yet
ES6 JavaScript
16 pages
Ecma 6: Diff Between Let and Var
PDF
No ratings yet
Ecma 6: Diff Between Let and Var
15 pages
JAVASCRIPT Cheat Sheet Js - 1
PDF
No ratings yet
JAVASCRIPT Cheat Sheet Js - 1
102 pages
4 Javascript
PDF
No ratings yet
4 Javascript
42 pages
Javascript Fundamentals
PDF
100% (2)
Javascript Fundamentals
206 pages
Javascript?
PDF
No ratings yet
Javascript?
13 pages
JavaScript Essentials for Technical Interviews
PDF
No ratings yet
JavaScript Essentials for Technical Interviews
226 pages
Introduction to JavaScript
PDF
No ratings yet
Introduction to JavaScript
23 pages
JavaScript Interview
PDF
No ratings yet
JavaScript Interview
12 pages
JavaScript Course v2.2
PDF
No ratings yet
JavaScript Course v2.2
280 pages
Where can buy Get Programming with JavaScript Next New features of ECMAScript 2015 2016 and beyond 1st Edition Jd Isaacks ebook with cheap price
PDF
100% (2)
Where can buy Get Programming with JavaScript Next New features of ECMAScript 2015 2016 and beyond 1st Edition Jd Isaacks ebook with cheap price
55 pages
JavaScript Unlocked - Sample Chapter
PDF
No ratings yet
JavaScript Unlocked - Sample Chapter
36 pages
15 Interview Questions About ES6
PDF
No ratings yet
15 Interview Questions About ES6
3 pages
Advanced JavaScript
PDF
No ratings yet
Advanced JavaScript
1,130 pages
Exploring Es2016 Es2017 PDF
PDF
No ratings yet
Exploring Es2016 Es2017 PDF
60 pages
Continue
PDF
No ratings yet
Continue
2 pages
Javascript Notes
PDF
No ratings yet
Javascript Notes
33 pages
React Interview Qution and Answers
PDF
No ratings yet
React Interview Qution and Answers
85 pages
Basics of Javascript
PDF
No ratings yet
Basics of Javascript
29 pages
Javascript Notes
PDF
No ratings yet
Javascript Notes
20 pages
Introduction To JavaScript ES6
PDF
No ratings yet
Introduction To JavaScript ES6
8 pages
Module 2
PDF
No ratings yet
Module 2
172 pages
Unit 2 Advanced ES6 Features in JavaScript and Typescript
PDF
100% (1)
Unit 2 Advanced ES6 Features in JavaScript and Typescript
20 pages
To Loves End - Inuyasha Ost Piano
PDF
No ratings yet
To Loves End - Inuyasha Ost Piano
3 pages
Lefant Robot M210P
PDF
No ratings yet
Lefant Robot M210P
24 pages
Galway Girl - Ed Sheeran
PDF
No ratings yet
Galway Girl - Ed Sheeran
3 pages
Father and Son - Cat Stevens
PDF
No ratings yet
Father and Son - Cat Stevens
2 pages
Beggin - Maneskin
PDF
No ratings yet
Beggin - Maneskin
4 pages
Fly Me To The Moon
PDF
No ratings yet
Fly Me To The Moon
1 page
State of The Game Industry 2022
PDF
No ratings yet
State of The Game Industry 2022
31 pages
USB 2.0 Multifunction Network Server: DN-13020 - DN-13023
PDF
No ratings yet
USB 2.0 Multifunction Network Server: DN-13020 - DN-13023
39 pages
iOS and Android Game Development Tools Guide: 2016 Edition
PDF
No ratings yet
iOS and Android Game Development Tools Guide: 2016 Edition
11 pages
Before You Go - Lewis Capaldi
PDF
No ratings yet
Before You Go - Lewis Capaldi
3 pages
What Is Apple Service Toolkit 2?
PDF
No ratings yet
What Is Apple Service Toolkit 2?
26 pages
The Lazy Song - Bruno Mars
PDF
No ratings yet
The Lazy Song - Bruno Mars
3 pages
Operation Manual
PDF
No ratings yet
Operation Manual
43 pages
Teach Your Children 2nd Vers BG
PDF
No ratings yet
Teach Your Children 2nd Vers BG
1 page
Weekly Lick 20
PDF
No ratings yet
Weekly Lick 20
1 page