Converts a switch statement into either consecutive statements or if statements
Static
Converts a switch statement to consecutive statements or if statements
The switch statement to convert
The converted statements or undefined if no statements remain
undefined
Converts a switch with only one clause and a default case into consecutive statements
The first statement or undefined if no statements remain
Converts a switch statement into a series of if statements
The first if statement created
Converts a switch statement into either consecutive statements or if statements