Switch statements in ES3.

A switch statement functions as multiple if-then-else statements.