javascript - What's const property on IE -


i have got error in ie10.

script5039: redeclaration of const property 

i deleted const property window , document set var.

but error still occurred.

so want know if there other const property on ie. or if have other answers error, please tell me.

i delete below code

var window var document 

judging answer "script5039: redeclaration of const property" in ie9 seems ie not correctly identify line error happens. think thing can check more variable names might conflicting.

script5039: redeclaration of const property using ie9 suggests might e.g. using history var name. if not case, try checking properties of window , document elements , see conflict variables in global scope.

it might possible error message faulty , caused ie trying render page in quirks mode (see js error 'redeclaration' of var when it's first line in program?). fix should fix script standards compatible.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -