Jessica | Javascript🚀
Jessica | Javascript🚀

@jesss_codes

6 Tweets 45 reads Jun 15, 2021
As a Web Developer, knowing ES6 JavaScript is really important.
Here is a basic explanation.
A Thread 🧵
Let Keyword
ES6 provides a new way of declaring a variable by using the let keyword. The let keyword is similar to the var keyword, except that these variables are blocked-scope.
Const
ES6 provides a new way of declaring a constant by using the const keyword. The const keyword creates a read-only reference to a value.
const CONSTANT_NAME = value;
Rest Parameters
ES6 provides a new kind of parameter so-called rest parameter that has a prefix of three dots (...). A rest parameter allows you to represent an indefinite number of arguments as an array.
Arrow Function
ES6 arrow functions provide you with an alternative way to write a shorter syntax compared to the function expression.
If you liked my notes, you can follow me ->
@jesss_codes
and like, Rt for Reach.
Also, comment down the topics you find hard in Javascript, I will try to explain them.

Loading suggestions...