Drinks.prototype._toHtml = function() {
    var style = (
      "display:inline-block;" +
      "border: 5px solid green;" +
      "box-shadow: 1em 1em 1em yellow;"
    );
    var body = "";
    body += "<tr>";
    body += "<th><b>" + "Name" + "</b></th>";
    body += "<th><b>" + "Color" + "</b></th>";
    body += "<th><b>" + "Calories" + "</b></th>";
    body += "<th><b>" + "Type" + "</b></th>";
    body += "</tr>";
    for (var row of pantry.drinks) {
      body += "<tr>";
      body += "<td>" + row.name + "</td>";
      body += "<td>" + row.color + "</td>";
      body += "<td>" + row.calories + "</td>";
      body += "<td>" + row.type + "</td>";
      body += "<tr>";
    }
  
    return (
      "<div style='" + style + "'>" +
        "<table>" +
          body +
        "</table>" +
      "</div>"
    );
  
  };
  
  $$.html(pantry._toHtml());
evalmachine.<anonymous>:1
Drinks.prototype._toHtml = function() {
^

ReferenceError: Drinks is not defined
    at evalmachine.<anonymous>:1:1
    at ContextifyScript.Script.runInThisContext (vm.js:25:33)
    at Object.runInThisContext (vm.js:97:38)
    at run ([eval]:1020:15)
    at onRunRequest ([eval]:864:18)
    at onMessage ([eval]:828:13)
    at emitTwo (events.js:106:13)
    at process.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:758:12)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)