Use the some Method to Check that Any Elements in an Array Meet a Criteria

Tell us what’s happening:

Your code so far


function checkPositive(arr) {
  // Add your code below this line
  arr.some(function (x){
    return x>0;
  });
  
  // Add your code above this line
}
checkPositive([1, 2, 3, -4, 5]);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria

I understood ,I miss a return

I followed the example which similar to the every method only difference is that you are every for some while the remaining syntax stays the same and adding and additional return to beginning

return arr.some(function(currentValue) {
return currentValue > 0;
});