Which of the following statements about ternary operators is true in React?
Ternary operators can only be used inside return.
Ternary operators can be used for conditional rendering in JSX.
Ternary operators are not allowed for conditional rendering in React.
Ternary operators always require else clause.
This question is part of this quiz :
Conditional Rendering In React