My Feed
Create Team Blog
Let's kick off a fresh team blog! Bring on the crew and let's get to publishing.

module not defined as an Error in javascript

Default profile photo
·Mar 24, 2018
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"