Ternary operators is an actively used design pattern. In computer science, a ternary operator is an operator that takes three arguments.
- the Ternary operators wikipedia page
- Have a question about Ternary operators not answered here? Email me and let me know how I can help.
let i = true ? 1 : 0
Last updated June 22nd, 2020