This challenge is about my blog post on Ternary Operator.
- Create a function that will take a number as an argument
- Check if the number is positive or negative in the function and return a string it
- If it is positive, return "Positive number", else return "Negative number"
- Use Ternary Operator to check that
You can write the solution in the replies and also on the blog.
function checkNumber(number) {
return ________
}