Skip to main content
Dublin Library

The Publishing Project

Tagged “Note”

--- desc: ---
JS conditional (ternary) operator

Javascript provides a way to shortcircuit if/else statements with the conditional or ternary operator. the idea is that we consolidate the three parts of the if statement in one command, like shown...

Link to Archive

See all tags.