Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

export default

// Default exports
export default expression;
export default function (…) { … } // also class, function*
export default function name1(…) { … } // also class, function*
export { name1 as default, … };
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #export #default
ADD COMMENT
Topic
Name
1+9 =