Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE11 problem with variable name

$
0
0

 IE11 could not distinguish variable name vs class name.

For example, we have some code like

function Shape(){

function draw(){

}

}

Shape = new Shape();

Shape.draw();IE11 try to reference that as classShape instead of variable. Thus given no method or object found error message


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>