Created
June 3, 2017 19:48
-
-
Save allencoded/da773f287db1d14d6090ed4e87454bfc to your computer and use it in GitHub Desktop.
Destructure Blog Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const response = [ | |
{ | |
type: 'truck', | |
size: 'large', | |
}, | |
{ | |
type: 'car', | |
size: 'small', | |
}, | |
]; | |
const [truck, car]; | |
console.log(truck) | |
console.log(car); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment