Nested Tenary Operation
How to write a Nested Tenary Operation
Oct 20, 20212 min read69

Search for a command to run...
Articles tagged with #c
How to write a Nested Tenary Operation

A Tenary Operator is an operator that provides a way to shorten a simple if else block in just one statement. Consider this JS code var x = 0; if (x == 0) { alert('x is Zero'); } else { alert('x is not Zero'); } If you run this code on your browser,...
