From 0feb5c433904317656c44639e9fd6c698e4a86a1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Jun 2021 20:15:29 +0300 Subject: [PATCH] typo fix... Signed-off-by: Alex A. Naanou --- generator.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {