Re: [csswg-drafts] [css-values]: Express conditional values in a more terse way (#5009)

> it's unfair.
> [...]
> in JS you can

Well, what is probably unfair is to put a JS example where an if()-else block is shoehorned to a switch.

In any case, I'm not the one taking the final decision on what will be decided, but saying that my function is an `if()` and not a `switch()` (while the other proposal would be a 'real' switch) is biased at best.

-- 
GitHub Notification of comment by carlosame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-626069334 using your GitHub account

Received on Saturday, 9 May 2020 00:03:00 UTC