title: Using es6 arrow functions inside class
body: <p>When i change a function <code>draw(){ //}</code> to <code>draw = () =&gt; { // }</code>
  I am getting an error like "Uncaught SyntaxError: Unexpected token =".
  What may be the reason?</p>