Entries from 2017-03-17 to 1 day
often use const props = { label: 'label', text: 'text' } const { label, text } = props console.log(label) #=> 'label' console.log(text) #=> 'text' default value const props = { label: 'label' } const { label, text = 'text' } = props consol…