The ternary operator is a shorter alternative to an if...else block:
let signString = a > 0 ? "positive" : "negative or zero"
Be sure to leave a space before the ?, otherwise the compiler will complain.