Home > front end >  Browser IE SCRIPT1002: syntax errors, other no problem
Browser IE SCRIPT1002: syntax errors, other no problem

Time:12-02

The react of the project, under the Internet explorer has grammatical errors, there is no question of other browsers, bosses to help see, here is the place where an error

CodePudding user response:

Is Internet explorer 8 and below version? If it is does not support the map method

CodePudding user response:

No, ie11

CodePudding user response:

Introduction of Babel - polyfill try, because ie is not compatible with es6, used to convert the grammar

CodePudding user response:

It is best to use standard browser, if you want to use the ie, try the edge

CodePudding user response:

Find the reason, because AntV G6, version is too high, G6 used inside the image, a low version and complains

CodePudding user response:

Does not support the es6 syntax
  • Related