tranary operator in js

JavaScript
condition ? ifTrue : ifFalse
Source

Also in JavaScript: