A robust polyfill for the 'String.prototype.startsWith' method in ES6.

A robust & optimized ES3-compatible polyfill for the String.prototype.startsWith method in ECMAScript 6.

Original link and Wayback Machine link