Uncaught TypeError: canvas.getContext is not a function code example
Example: Uncaught TypeError: document.getContext is not a function
<script language="Javascript" type="text/Javascript" src="pong.js" defer></script>
<script language="Javascript" type="text/Javascript" src="pong.js" defer></script>