JavaScript Ternary Operator
The funky cousin of the if-else statement
Feb 28, 20232 min read36

Search for a command to run...
Articles tagged with #code
The funky cousin of the if-else statement

What are enums? Typescript enums provide a way to define a set of named constants. Let's have a look at how we can use them in our code. Declare an enum Let's imagine a user of our app needs to select the colour of their car when they are configuring...
