Chapter 2

Control Flow & Functions — quiz

5 questions · ~4 min

Chapter 2 quiz

Question 1 of 5

Your test selects a browser based on an env var: 'chrome', 'firefox', or 'webkit'. Anything else should raise an error. Which structure is most readable?