I have code that gets the users locale and store it in a variable. I then have a conditional that checks if the locale matches a specific value - see the picture below:
Above you can see the value of locale is "sv-SE".
I then have a conditional too see if the value of locale is "en-US" || "en-GB" in a if statement.
I would except the statement to be false, since the value of locale is "sv-SE" in this case, and does not match the string values in the statement - but the if conditional becomes true and the code inside the if statement executes. Why?