Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

object destruction in javascript

In JavaScript, destructuring is when you decompose the properties of an object or the indexes of an array to separate them to create specific variables. This does not mean that these separated objects or arrays can never be used again in the program.
 
PREVIOUS NEXT
Tagged: #object #destruction #javascript
ADD COMMENT
Topic
Name
1+5 =