Grader not grading Introducing Else Statements correctly

Grader not grading Introducing Else Statements correctly
0.0 0

#1

I have used the following code a hundred different ways in the grader and it will not fall to the Else for 5 and 4:

function testElse(val) {
   var result = "";
  // Only change code below this line
  
  if (val > 5) {
    result = "Bigger than 5";
  } 
  
  else {
    result = "5 or smaller";
  }
  
  // Only change code above this line
  return result;
}

// Change this value to test
testElse(4);

This works with other venues just not this grader.


#2

Check your capitalization. smaller should be uppercase S.