The ternary operator
Learn about the ternary operator that can be used as a control structure.
The ?
is known as the ternary operator and provides a way to return values without if-else like
Get hands-on with 1200+ tech skills courses.
Learn about the ternary operator that can be used as a control structure.
The ?
is known as the ternary operator and provides a way to return values without if-else like
Get hands-on with 1200+ tech skills courses.