diff --git a/generator.js b/generator.js index 610d849..8819e54 100644 --- a/generator.js +++ b/generator.js @@ -279,7 +279,7 @@ object.Mixin('GeneratorProtoMixin', 'soft', { // NOTE: this is different from Array's .slice(..) in that it does not // support negative indexes -- this is done because there is no way // to judge the length of a generator until it is fully done... - slice: function*(from=0, to=Infity){ + slice: function*(from=0, to=Infinity){ // sanity check... if(from < 0 || to < 0){ throw new Error('.slice(..): ' diff --git a/package.json b/package.json index 733d6c4..c121adb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-types", - "version": "6.9.0", + "version": "6.9.1", "description": "Generic JavaScript types and type extensions...", "main": "main.js", "scripts": {