Skip to main content

Edit It: Use If...Else Conditional Statement to Log String on the Console

This code shows how to use the if...else conditional statement to log a string on the browser's console.

See it on StackBlitz