Q:

What will be the output of the following code?




<script>
let i = 30;
if( i == 10 || i > 20){
console.log('Hola');
}else if( i == 5){
console.log('Breaking up the code');
}else{
console.log('Adios');
}
</script>

(A) Hola
(B) Breaking up the code
(C) Adios
(D) None of the above

WEB TECHNOLOGIES QUESTIONS

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.