Sum up all array elements with values greater than

// Write a function that takes an array (a) and a number (b) as arguments
// Sum up all array elements with a value greater than b
// Return the sum
function
myFunction
(
a, b
)
{

return
}
Test Cases:
myFunction([1, 2, 3, 4, 5, 6, 7], 2)
Expected
25
myFunction([-10, -11, -3, 1, -4], -3)
Expected
1
myFunction([78, 99, 100, 101, 401], 99)
Expected
602