Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

util.in_array is not necessary #157

Closed
dongyuwei opened this Issue · 1 comment

2 participants

@dongyuwei

since Array (in v8 engine) has "indexOf" method.
eg: [1,2,3].indexOf('abc') === -1;
eg: [1,2,3].indexOf(3) === 2;

@baudehlo
Owner

Fixed-ish. I made utils.in_array() use indexOf().

@baudehlo baudehlo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.