Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let {bread, cheeses, condiments = ['mustard']} = dagwoodSandwich;
- console.log({bread, cheeses, condiments}); // { bread: 'rye', cheeses: ['cheddar'], condiments: ['mustard'] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement