When a function returns a boolean value, it triggers 2 conditions and based on the outcome, a specific message is shown
For instance:
<script>
function guessTheNumber(p1) {
const test = 5;
return p1 > 6 || p1 === test ;
}
</script>
Message displayed:
{{ greater (if first condition is met) || {{ equal (if second condition is met) }}