if statement - add missing condition
Time to practice what we've learnt so far. In the code below, the if...statement will assign a new value to the variable text. But only if its condition is met. Currently, the condition is missing.Add any condition that will be satisfied such that the
console.log()
statement logs true
.Premium
JavaScript
Console