title: Node - unexpected identifier
body: <p>I'm trying to play around with Node and some ES6/functional stuff.<br/>
  Here is two files.<br/>
  <strong>dog.js</strong></p>
  
  <pre><code>const dog = () =&gt; {
      return {
          test: (arg) =&gt; console.log("dog say: " + arg)
      }
  }
  
  export default dog;
  </code></pre>
  
  <p><strong>1.js</strong><br/></p>
  
  <pre><code>import dog from './dog';
  
  const d = dog()
  d.test('111');
  </code></pre>
  
  <p>Node version - 10.4.0 (Node settings are fine)<br/>
  When I'm running <code>node 1.js</code> - getting error <strong><code>Unexpected identifier</code></strong>, pointing on dog. What is wrong here?</p>
  
  <p><strong>P.S.</strong> 1.js was updated for proper usage of imported function, but even after that I'm still getting errors.</p>