agiletestcoach
4/8/2020 - 7:02 AM

Conditional loops in javascript

if(x === 5 ){
    console.log('x is 10');
} else if(x > 10) {
 console.log ('x is greater than 10');
} else 
{
    console.log('x is less than ten');
}