module not defined as an Error in javascript
Anonymous
let Menu = {};
module.exports = {
specialty: "Roasted Beet Burger with Mint Sauce",
getSpecialty: function() {
return this.specialty;
}
};
While Running above code in console ,It is giving error as "module is not defined"