Skip to content Skip to sidebar Skip to footer

I Get The Error Script1003: Expected ':' In Ie 11; (java Script Code Error)

This particular snippet of JS code does not work on IE 11. I get the error SCRIPT1003: Expected ':' and it says it is missing on line that it's in bold. var $actions = application

Solution 1:

IE11 does not support shorthand method names. See the compatability part of the MDN. Use

return {
   Logout: function() {
       _logout();
   }
};

(or stop supporting internet exploder, if you have the opportunity to - it causes a lot of headache)

Post a Comment for "I Get The Error Script1003: Expected ':' In Ie 11; (java Script Code Error)"