Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 335 Bytes
// This example is currently broken. Need to make it work :)
state = 'foo'
"Local.state: " <input data=state /> "(try foo, bar, and others)"
switch(state) {
case 'foo', 'bar': "Local.state is foo/bar! " state
case 'marcus', 'westin': "Local.state is my name! " state
default: "default, Local.state is " state
Jump to Line
Something went wrong with that request. Please try again.