if (!String.prototype.startsWith) {
Object.defineProperty(String.prototype, 'startsWith', {
value: function(search, rawPos) {
var pos = rawPos > 0 ? rawPos|0 : 0;
return this.substring(pos, pos + search.length) === search;
}
});
}
There will be a fix in the next telease but there is no date for that release yet.
The latest alpha 179a1b was issued before this issue was raised but a polyfill will be included in the next alpha.
If you want to know when the next alpha is available you could join the beta group.
Just email sup...@droidscript.org from the email address you use for this group explaining that you would like an invite to join the beta group.