diff --git a/src/duk_builtin_array.c b/src/duk_builtin_array.c index ef355817..f622c3e5 100644 --- a/src/duk_builtin_array.c +++ b/src/duk_builtin_array.c @@ -257,7 +257,7 @@ static int iter_helper(duk_context *ctx, int iter_type) { return 1; } break; - case ITER_SOME: { + case ITER_SOME: bval = duk_to_boolean(ctx, -1); if (bval) { return 1;