版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhuchuji/article/details/80062971
<canvas>
is not supported
IE 8 does not support <canvas> and does not provide HTMLCanvasElement
interface. If using document.createElement('canvas')
, It will transform it to HTMLGenericElement
and does not provide any method of <canvas>
, i.e. getContext()
.
Reserve words can not be used in object property
IE 8 will throw error if using reserve words to define object properties. For examples, var a = { delete: 'delete' }
will throw error.