Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 999 Bytes

File metadata and controls

26 lines (25 loc) · 999 Bytes

Learning objectives

What is ECMAScript?
Writing and searching strings
Writing maps
Destructuring arrays
Searching arrays
Creating objects
Destructuring objects
  1. Variable names must match the property names
  2. You can assign new variable names using colon (:)
  3. You can set default values
  4. Nested objects require nested destructuring
  5. Use rest operator (...) to collect remaining properties
  6. Order doesn't matter in object destructuring
Iterating with the for/of loop
Getting and setting class values
Using ECMAScript functions

arrow functions-

  1. arrow function provide the more readability to the code
  2. It doesnt required the explicit retirn statement for the single line function
  3. we dont neeed to call the function before the declaration
  4. the destruction of the object need the {} during use of the function
  5. It is same like the anonyms function
Building and returning promises
Using async/await syntax