Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Destructuring in javascript

const { name, age, job } = { name: 'abrar', age: 24, job: 'web-developer' }
console.log(name, age, job)
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #Destructuring #javascript
ADD COMMENT
Topic
Name
4+7 =