Skip to content

fix sameMembers function#1

Open
dievardump wants to merge 1 commit intojdbertron:mainfrom
dievardump:fix/helpers-same-members
Open

fix sameMembers function#1
dievardump wants to merge 1 commit intojdbertron:mainfrom
dievardump:fix/helpers-same-members

Conversation

@dievardump
Copy link

The loop in sameMembers did not do what it was supposed to.

It returned true if it found any member of arr2 in arr1 instead of returning true only if all members were found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant