Switch builder sandbox
The diagram compares a Switch without a Default case (left) and with one (right). Both receive the same unexpected value 99. On the left, that value silently falls through every case and nothing happens. On the right, the Default case catches it.
Look at both panels, then answer the question below.
What does the run history look like for a Switch with no Default that's given an unmatched value?
이 연습은 강의의 일부입니다
