Point of instructional style: Every waypoint up to this point in the Beta explicitly tells the user what the value returned by the functions should be. The exact values in this waypoint are only listed below the submission buttons, requiring a vertical scroll (when no other lessons do).
“Use multiple conditional operators
in the checkSign
function to check if a number is positive, negative or zero.”
How to fix — Use the following text:
"Use multiple conditional operators
in the checkSign
function to check the sign of the argument num
. Return "positive"
, "negative"
, or "zero"
depending on the sign of num
.