Skip to main content

Edit It: Use Chained Ternary Operator to Log String on the Console

This code shows how to use the chained ternary operator to log a string on the browser's console.

See it on StackBlitz