I was using JSLint and it is saying: 'matte_canvas' is not defined. Obviously, in my javascript code I don't have 'matte_canvas' defined, however, it does output the canvas element in the console.
Here is the code I have:
HTML:
<canvas id="matte_canvas" width="50" height="50" style="background-color:blue;"></canvas>
Javascript:
console.log(matte_canvas);
Here it is on JSFiddle: http://jsfiddle.net/allisonc/rqo5a417/
Can someone please explain to me how it is working?