string.prototype.endswith

A robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.

Browse on unpkg