title: Multiplying objects in javascript
body: <p>I'm doing java script tutorial and i encountered weird piece of code which for the guy doing tutorial work but not for me. And i know why, but i can't figure out why it works for him. He tried and multiplied two objects which i know it can't be done.
  Can someone explain me why the following code works for him because result of it, gives me NaN which is normal because it is not a number it's object.</p>
  
  <pre><code>        tool.onKeyDown = function(event) {
                  var maxPoint = new Point (view.size.width, view.size.height); 
                  //Gives screen width {x:600, y:300}
                  var randomPoint = new Point.random();
                  //Gives random betwen 0-1 {x:.5, y:0.5}
                  var point = maxPoint * randomPoint; //multiplying gives him {300,150}
                  console.log(point) // NAN
                  new Path.Circle(point, 20).fillColor = "orange";
              }
  </code></pre>