javascript question mark point operator 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