single question mark operator in js code example
Example: question mark operator javascript
voteable = (age < 18) ? "Too young":"Old enough"
// condition ? if true : if false
voteable = (age < 18) ? "Too young":"Old enough"
// condition ? if true : if false