Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

destructuring an object in JS

let person = {
    firstName: 'John',
    lastName: 'Doe'
};
Code language: JavaScript (javascript)
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #destructuring #object #JS
ADD COMMENT
Topic
Name
7+3 =