UNPKG

generator-ssjs

Version:

yo generator to scaffold an [SSJS Framework](https://adessose.github.io/ssjs-webpack/) project. ## Installation ``` # install yo npm install --global yo

10 lines (9 loc) 294 B
// String.prototype.endsWith if (!String.prototype.endsWith) { String.prototype.endsWith = function (search, thisLen) { if (thisLen === undefined || thisLen > this.length) { thisLen = this.length; } return this.substring(thisLen - search.length, thisLen) === search; }; }