title: SyntaxError: 'super' keyword unexpected here
body: <p>When I am running this it gives me an error:</p>
  
  <blockquote>
    <p>Uncaught SyntaxError: 'super' keyword unexpected here</p>
  </blockquote>
  
  <pre><code>var React = require("react");
  
  module.exports = React.createClass({
      constructor(){
         super();
         this.state = {date: new Date()};
      },
      render() {
          return(
              &lt;div&gt;
                  test
              &lt;/div&gt;
          );
      }
  });
  </code></pre>
  
  <p>PS. I removed <code>super()</code> it gave me an error </p>
  
  <blockquote>
    <p>You are attempting to define <code>constructor</code> on your component more than once. This conflict may be due to a mixin.</p>
  </blockquote>
  
  <p>Example is from <a href="https://facebook.github.io/react/docs/state-and-lifecycle.html#adding-local-state-to-a-class" rel="nofollow noreferrer">React Docs</a></p>
  
  <p>What I am doing wrong?</p>