title: Canvas element is undefined
body: <p>coudl someone have a look at this piece of code and tell me why I get the canvas element undefined? or why I can not use this kind of syntax?</p>
  
  <pre><code>var Canvas = {
  
     element : document.getElementById("canvas"),
     context : Canvas.element.getContext("2d"), // Uncaught TypeError: Cannot read property 'element' of undefined 
  }
  </code></pre>