Consider the following code snippet:
const fruits = ['apple', 'banana', 'cherry', 'date'];
const hasBanana = fruits.includes('banana');
console.log(hasBanana);
What will be the output of the console.log statement?
Consider the following code snippet:
const fruits = ['apple', 'banana', 'cherry', 'date'];
const hasBanana = fruits.includes('banana');
console.log(hasBanana);
What will be the output of the console.log statement?