title: JavaScript - "invalid assignment left-hand side error" when call "new" to create object
body: <p>I'm implementing a <code>Binary Search Tree</code> algorithm using <code>Canvas &amp; JavaScript</code>.</p>
  
  <p>First of all, I create a base class (<code>Node</code>) with some attributes and functions. 
  I got the following error when implementing the <code>insertNode()</code> function: <code>ReferenceError: invalid assignment left-hand side</code> in the following line: <code>this = new Node(newNodeData); (line 63)</code></p>
  
  <p>Here is my code: <a href="http://jsbin.com/ASebuRaz/1/edit?html,output" rel="nofollow">http://jsbin.com/ASebuRaz/1/edit?html,output</a></p>
  
  <p>How to fix this error?</p>