1/3 Test Cases Passed
You need to earn 2 or 3 stars in order to submit.
1/3 Test Cases Passed
You need atleast 2 stars to grade your answer.
Test Cases (0/3)
-
filter([1,2,3,4,5,6,7,8,9,10], function(num){ return num %2 == 0}) to return [2,4,6,8,10]
-
filter([-3,-1,1,3,-5,15,-20], function(num){ return num>0; }) to return [1,3,15]
-
filter([-3,-1,1,3,-5,15,-20], function(num){ return num<0; }) to return [-3,-1,-5,-20]