Computer Science, asked by ARCblaccheta, 1 year ago

what is question mark in javascript

Answers

Answered by sairockzz
0
It is called the Conditional Operator (which is a ternary operator). Think of the ? as "then" and : as "else". This is probably a bit clearer when written with brackets as follows: ... If the result is true then the part after the ? and before the : is returned
Answered by Karam
0
? ternary operator...
Similar questions