Frontend Developer
@muhammad-masab002
JAVASCRIPT
{ES6} Features
JavaScript
@muhammad-masab002 i_masab01 NEXT
JavaScript 1
Arrow Funciton Map & Set
Template Literals Default Parameters
Destructuring Assignment Modules
Spread Operator Map Method
Rest Operator Filter Method
Async / Await Reduce Method
@muhammad-masab002 i_masab01 NEXT
JavaScript 2
Arrow Funciton
Arrow Function provides a concise syntax for
writing functions, especially useful for short,
one-line operations
@muhammad-masab002 i_masab01 NEXT
JavaScript 3
Template Literals
Template literals allow embedding expressions
inside strings, providing a cleaner and more
readable way to concatenate strings.
@muhammad-masab002 i_masab01 NEXT
JavaScript 4
Desturcturing Assignment
Destructuring assignment simplifies the
extraction of values from objects or arrays into
individual variables.
@muhammad-masab002 i_masab01 NEXT
JavaScript 5
Spread Operator
The spread operator allows for the expansion of
elements, making it handy for creating new
arrays or objects based on existing ones.
@muhammad-masab002 i_masab01 NEXT
JavaScript 6
Rest Operator
The rest parameter allows functions to accept
an indefinite number of arguments as an array,
simplifying parameter handling.
@muhammad-masab002 i_masab01 NEXT
JavaScript 7
Async / Await
Async/await is a syntax for handling
asynchronous code more concisely, providing a
cleaner alternative to working with Promises.
@muhammad-masab002 i_masab01 NEXT
JavaScript 8
Map & Set
Map and Set are new data structures
introduced in ES6. Map is an ordered collection
of key-value pairs, and Set is a collection of
unique values.
@muhammad-masab002 i_masab01 NEXT
JavaScript 9
Default Parameters
Default parameters provide values for function
parameters if none are provided, improving
flexibility and reducing the need for explicit
checks
@muhammad-masab002 i_masab01 NEXT
JavaScript 10
Modules
ES6 modules provide a clean and organized way
to structure and import/export code, improving
maintainability and reusability.
@muhammad-masab002 i_masab01 NEXT
JavaScript 11
Map Method
The map method in JavaScript is used to create
a new array by applying a provided function to
each element of an existing array
@muhammad-masab002 i_masab01 NEXT
JavaScript 12
Filter Method
The filter method creates a new array containing
only the elements that satisfy a specified
condition.
@muhammad-masab002 i_masab01 NEXT
JavaScript 13
Reduce Method
The reduce method is used to accumulate the
elements of an array into a single value
@muhammad-masab002 i_masab01 NEXT
Frontend Developer
@muhammad-masab002
DID YOU LIKE THE
POST ?
JavaScript
Follow for more!