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

19 lines 400 B
if (!Array.prototype.keys) { Array.prototype.keys = function () { var k, a = [], nextIndex = 0, ary = this; k = ary.length; while (k > 0) a[--k] = k; a.next = function () { return nextIndex < ary.length ? { value: nextIndex++, done: false } : { done: true }; }; return a; }; }