title: why calling a export function return with no value
body: <p>I am having this following code in notes.js</p>
  
  <pre><code>module.exports.addNote = () =&gt; {
      console.log('addNote');
      return 'New Note';
  };
  </code></pre>
  
  <p>and the app.je</p>
  
  <pre><code>const notes = require('./notes.js');
  var res = notes.addNote();
  </code></pre>
  
  <p>however when i start it it only display the console.log and not the return 'New Note'</p>
  
  <pre><code>&gt; node app.js
  addNote
  </code></pre>
  
  <p>Why is it ?</p>