syntax error on token “catch”,Identifier expected

today, I suddenly found that the jquery-3.2.1.js introduced in the project gave an error, and one line was

syntax error on token “catch”, Identifier expected

I used the STS tool, searched the solution and found that validate problem, the solution is as follows:

window –> Preferences –> Validation –> Restore Defaults


in jquery-3.2.1.js right -> Validate it.

Read More: