mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 18:10:08 +00:00
typo fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
923bc1a094
commit
0feb5c4339
@ -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(..): '
|
||||
|
||||
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user