What is the sequence of matching of the value of the switch expression with various case values?
Answers
Answered by
0
Answer:
ot can help you
Explanation:
Second, the only way to use switch with multiple variables is to combine them into one primitive (string, number, etc) value: var stateA = "foo"; var stateB = "bar"; switch (stateA + "-" + stateB) { case "foo-bar": ... ... }
Similar questions