What is the result of the following code?
let fruit = 'apple';
let color = fruit === 'apple' ? 'red' : 'green';
console.log(color);
What is the result of the following code?
let fruit = 'apple';
let color = fruit === 'apple' ? 'red' : 'green';
console.log(color);