typo fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-11-27 18:21:55 +03:00
parent 7c31ae0765
commit 5b88d49dbd
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ object.Mixin('ArrayProtoMixin', 'soft', {
// location...
// NOTE: this will get depricated as soon as JS redoes its .indexOf(..)
index: function(value){
for(var i = 0; i < this.length && this[i] !== elem; i++){}
for(var i = 0; i < this.length && this[i] !== value; i++){}
return i == this.length ? -1 : i },

View File

@ -1,6 +1,6 @@
{
"name": "ig-types",
"version": "5.0.19",
"version": "5.0.20",
"description": "Generic JavaScript types and type extensions...",
"main": "main.js",
"scripts": {