Hi Folks,
It looks like startsWith / String.prototype.startsWith is not supported by IE (all the way up to 11). When executing in other browsers, the call works fine. IE 11 results in error: "SCRIPT438: Object doesn't support property or method 'startsWith'".
Is this something you should include, say as a workaround for IE:
if (!String.prototype.startsWith) {
String.prototype.startsWith = function(searchString, position) {
position = position || 0;
return this.indexOf(searchString, position) === position;
};
}
Thanks,
Andreas