I am trying to make an application work on IE, everything works fine until I try to use this backbone plugin: https://github.com/jhudson8/backbone-query-parameters.
It works fine on firefox or chrome, but whenever I try to use it along with IE throws the following error:
Object doesn’t support this property or method line 93 characer
rtn.paramNames = paramNames.map(function(name){
return name.substring(1);
}
);
has anyone come up with this error or any aproach?
Native
mapsupports only from IE9.To fix your issue just use underscore map instead of native map: