mmckegg / notevil

Evalulate javascript like the built-in javascript eval() method but safely.
195 stars 24 forks source link

SwitchStatement #20

Closed kumavis closed 10 years ago

kumavis commented 10 years ago

This one will be a little tricky because of flow control. It is possible to fall through cases, redirect to other cases, break or return early.