What would be the result of the following: const isTaskCompleted = false; if (isTaskCompleted) { console.log('Task completed');
Fantastic news! We've Found the answer you've been seeking!
Question:
What would be the result of the following:
const isTaskCompleted = false;
if (isTaskCompleted) {
console.log('Task completed');
} else {
console.log('Task incomplete');
}
What would be the result of the following:
const isTaskCompleted = false;
if (isTaskCompleted) {
console.log('Task completed');
} else {
console.log('Task incomplete');
}
a) true
b) Task incomplete
c) false
d) Task complete
Related Book For
Posted Date: