Conditional statements: if, else, ternary operator (?). JavaScript conditional statements allow you to execute specific blocks of code based on conditions. If the condition is met, a particular block ...
If your country's population is greater than 33 million, use the ternary operator to log a string like this to the console: "Portugal's population is above average". Otherwise, simply log "Portugal's ...