remove unneeded result check
pull the assignment out of the condition
Merge pull request #1644 from mehdishojaei/optimize-some-every

optimize _.every and _.some by removing unneeded checking of result variable.