-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
The find function didn't check the first item in a array #1286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you! |
find
function didn't check the first item in a arrayfind
function didn't check the first item in a array
find
function didn't check the first item in a array
@ktsn why proposition made by @zach5078 to solve your initial code was not taken into account. I think it was a good idea. |
And you probably do not use the |
vuex/src/util.js
Line 9 in b536fbd
example:
console.log(find([3, 1, 1, 2], (v) => v > 2)) // undefined
correct version:
The text was updated successfully, but these errors were encountered: