1// Use Multiple Conditional Ternary Operators Javascript.
2
3
4function checkSign(num) {
5
6 return num > 0 ? "positive" : num < 0 ? "negative" : "zero";
7
8}
9
10console.log(checkSign(10));
11console.log(checkSign(-10));
12console.log(checkSign(0));