Features:
Vaariables
Variables
with ES6, there are three ways of defining your variables: var, let, and const.
var x = 5.6;
var has a function scope, not a block scope.
let x = 5.6;
let is the block scoped version of var, and is limited to the block (or expression) where it is defined.
const x = 5.6;
const is a variable that once it has been created, its value can never change.
const has a block scope.
Array Methods
One of the most useful in React is the .map() array method.
The .map() method allows you to run a function on each item in the array, returning a new array as the result.
In React, map() can be used to generate lists.
Destructuring
To illustrate destructuring, we'll make a sandwich. Do you take everything out of the refrigerator to make your sandwich? No, you only take out the items you would like to use on your sandwich.
Destructuring is exactly the same. We may have an array or object that we are working with, but we only need some of the items contained in these.
Destructuring makes it easy to extract only what is needed
#ecmascript6
#webdevelopment
Books :
•Node.Js, Mongodb and Angular Web Development: The Definitive Guide to Using the Mean Stack to Build Web Applications : https://amzn.to/3JxK83J
•Getting MEAN with Mongo, Express, Angular, and Node : https://amzn.to/3yQL2mW
Products used in video:
•HP w100 480P 30 FPS Digital Webcam : https://amzn.to/3mD2fNV
•BigPassport 1080P/30fps 5P lens Full HD Webcam with Tripod & Inbuilt Microphone : https://amzn.to/3ZwXGmE
•Lenovo 300 FHD Webcam with Full Stereo Dual Built-in mics : https://amzn.to/41SAAsp
•HP 15s, 12th Gen Intel Core i5 8GB RAM/512GB SSD 15.6-inch : https://amzn.to/3Fb2p5q
•Dell USB Wireless Keyboard and Mouse Set- KM3322W : https://amzn.to/3l2Deek
•Zebronics Wired Keyboard and Mouse Combo with 104 Keys and a USB Mouse : https://amzn.to/41QCidE