Skip to content

Commit b526a10

Browse files
committed
bug
1 parent dd0ebaf commit b526a10

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/njs_array.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,8 +2502,6 @@ njs_array_prototype_iterator(njs_vm_t *vm, njs_value_t *args, njs_uint_t nargs,
25022502
break;
25032503

25042504
case NJS_ARRAY_INDEX_OF:
2505-
case NJS_ARRAY_FIND_INDEX:
2506-
njs_set_number(retval, -1);
25072505
break;
25082506

25092507
case NJS_ARRAY_FOR_EACH:

0 commit comments

Comments
 (0)