2nd case: the correct formula is params.score === 10 && params.score === 20, however that will never evaluate to true, because a variable can only have one value at a time. If you want it to be either 10 or 20, you can write params.score === 10 || params.score === 20
The IF statement is redundant, because the clause already evaluates to true/false.