ERROR in. Filter Arrays with filter

Tell us what’s happening:

Your code so far

var oldArray = [1,2,3,4,5,6,7,8,9,10];

// Only change code below this line.

 var newArray = oldArray.filter(function(val) {
  return val > 5;

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

Link to the challenge:

What do you need help with?