Selection Flashcards
1
Q
Switch statement
A
Used to replace switch statement. Works only with equality statements. Only works with integers or strings
2
Q
Break
A
Ends code
3
Q
Case
A
Possible values of x, arbitrary.
4
Q
Yield
A
return statement (replaces entire code)