3 ms·And then it's a lot faster to use switch: https://jsben.ch/U6w7l https://jsben.ch/U6w7lby d--b 6y agoAnd then it's a lot faster to use switch: https://jsben.ch/U6w7l https://jsben.ch/U6w7lgfxgirl 6y agoSurprisingly byOr wins on Safari