Conditional (Ternary) Operator

Publicado el: 12 marzo 2023
en el canal de: Technical Softengi
72
5

********Conditional (Ternary) Operator**********
There is also a short-hand if else, which is known as the ternary operator because it consists of three operands.

It can be used to replace multiple lines of code with a single line, and is most often used to replace simple if else statements:

variable = (condition) ? expressionTrue : expressionFalse;


En esta página del sitio puede ver el video en línea Conditional (Ternary) Operator de Duración hora minuto segunda en buena calidad , que subió el usuario Technical Softengi 12 marzo 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 72 veces y le gustó 5 a los espectadores. Disfruta viendo!