Question about switch expression in Conitionals 3 Skills Test

In the Conditionals 3 Skills Test the switch expression is switch(true). Shouldn’t it be switch(score) instead? I don’t understand what is happening here.

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Test_your_skills:_Conditionals

Hello @church_craig

the trick is switch compare the expression with the result of the switch cases

the problem is that the case has range like
Score of 0 to 19 — “That was a terrible score — total fail!”

so to allow that to be used we use true for the expression and the cases return comparison statement that return true and false

by the way true === true lead to true that why we used true in the statment expression

but false === false lead to false

hope that help and have a nice day