title: node.js / ES6 / class creation : SyntaxError: Unexpected reserved word
body: <p>I try to create a class on my node.js / express app.</p>
  
  <p>It works in basic js / prototype mode such as : </p>
  
  <pre><code>function MyClass() { 
      /* constructor code */
  };
  
  MyClass.prototype.myMethod = function() {
      /* method code */
  };
  
  module.exports = MyClass;
  </code></pre>
  
  <p>But I want to do use the class, constructor, extends, ... keywords.</p>
  
  <p>I've try that : </p>
  
  <pre><code>class MyClass {
      constructor() {
          /* constructor code */
      }
  
      myMethod() {
          /* method code */
      }
  
  }
  </code></pre>
  
  <p>But it doesn't work, the error is : </p>
  
  <pre><code>class MyClass {
  ^^^^^
  SyntaxError: Unexpected reserved word
  </code></pre>
  
  <p>My command line to launch the app with all harmony options : </p>
  
  <pre><code>node `node --v8-options | grep harmony | cut -d ' ' -f | xargs` my-app.js 
  </code></pre>
  
  <p>An idea to launch my app correctly please ? </p>