What is the result of the following code?
let fruit = 'apple';
let color;
if (fruit === 'apple' || fruit === 'strawberry') {
color = 'red';
}
console.log(color);
What is the result of the following code?
let fruit = 'apple';
let color;
if (fruit === 'apple' || fruit === 'strawberry') {
color = 'red';
}
console.log(color);