COMMON LEGACY INTERNET EXPLORER ERRORS
Internet Explorer has traditionally been one of the most difficult browsers in which to debug JavaScript errors. Legacy versions of the browser throw error messages that are generally short and confusing, with little or no context given. The following sections provide a list of common and difficult-to-debug JavaScript errors that may occur in legacy versions of Internet Explorer. Because these browsers do not support ES6, the code will be backwards compatible.
Invalid Character
The syntax of a JavaScript file must be made up of certain characters. When an invalid character is detected in a JavaScript file, IE throws the "invalid character"
error. An invalid character is any character not defined as part of JavaScript syntax. For example, there is a character that looks like a minus sign but is represented by the Unicode value 8211 (\u2013
). This character cannot be used in place of a regular minus sign (ASCII code 45) because it&apos...