Javascript ES6 Tutorial for Beginners

preview_player
Показать описание
🔥Menu
⌨️ 0:50 | const and let
⌨️6:21 | Arrow Function
⌨️10:22 | Default Value
⌨️12:03 | Class
⌨️21:20 | Set
⌨️22:42 | Object Initializer
⌨️26:33 | Destructure
⌨️31:12 | Spread Operator
⌨️36:19 | Modules Import / Export
⌨️42:31 | Promise
⌨️47:51 | Async / Await (ES2017)

#ES6 / ES2015 introduced many new #JavaScript features which we regularly use to write code in #React and React-native applications. If you do not know these features you have to learn this, otherwise, it will be tough for you to understand other people's code.

In this video, I will discuss differences between var, let and const keywords, and why let and const are more appropriate than var.

I will discuss the arrow function in JavaScript ES6 / ES2015. We can write the arrow function in a much elegant and short way which I have mentioned in this video.

ES6 also introduced a new way to write class. Basically, JavaScript classes are syntactic sugar over the existing prototype-based inheritance. We will learn static properties, constructors, and inheritance.

ES2015 also introduced a set data structure which is very important to store unique values.

Using ES6 we can use shorthand property names in objects. When object property names and initializing variable names are the same we can use shorthand syntax.

Destructuring is an easier way to access properties in objects and arrays. We will learn how to do that in this video. Using spread operator we can retrieve each and every element from an array or object.

The most important thing in ES6 is a Promise object. A promise object represents an eventual completion or failure for an asynchronous operation. When a pending promise either fulfilled or rejected and if a corresponding handler is attached by 'then' method, the handler will be called.

ES2017 which is a way to come have async/await feature. async/await functions are built onto the promise. A function starts with async keyword means, it will return a promise either implicitly or explicitly.

We will also learn how to export constant, objects, functions, or class from one module to another module.

The books I highly recommended to Learn React, React Native, JavaScript, and NodeJs

React

React Native:

JavaScript:

NodeJs:
Рекомендации по теме
Комментарии
Автор

Excellent Tutorial. just gotten into ReactJS and this is a tremendous help!!

karimkazia
Автор

Vai,
amar background Accounting. Software developing language niye idea kom. Onek shikhtesi apnar tutorials theke.
Thank you vai.

abdurrazzaq
Автор

understood everything
thanks for the amazing tutorial

ammygamingpony
Автор

Do you have some examples with function array? (array.filter, array.map, array.reduce)

francescoscollo
Автор

Hi I'm learning PYTHON almost 3 months and I want to be a Data Analytics. Could you please give me a list, what should i have to learn step by step to become ready for the job as a Data Analytics. Thank you.

rumanasultana