Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js-destructuring

const getTemperature = ({ celsius = 15 } = {}) => celsius;
Source by realworldjs.medium.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+4 =