Which is the action or code "specified"?


#1
let specialty = '';
function isVegetarian() {
}; 
function isLowSodium() {
}; 

export { specialty, isVegetarian };
export { specialty, isVegetarian }; 

explained as,

this exports objects by their variable names. Notice the keyword export is the prefix. specialty and isVegetarian are exported, while isLowSodium is not exported, since it is not specified.

My question is why the isLowSodium is not specified ? thay look as the same so we can export{specialty .isLowSodium}? i did not see any action and difference about the “specified” thank you for your response.


#2

We will need to review the lesson to obtain enough information to answer your question. Please post a link to the exact exercise. Thanks.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.