title: How to fix module exports not defined in javascript
body: <pre><code>module.exports = {
          LogValue1: function (data)
          {
              return somevalue;
          },
  };
  
  var fetch = require('./static/fetchData'); 
  fetch.LogValue1(data);
  </code></pre>