比較不好:
function test(fruit) { if (fruit == 'apple' || fruit == 'strawberry') { console.log('red'); }}
比較好:
function test(fruit) { const redFruits = ['apple', 'strawberry', 'cherry', 'cranberries'];