projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
jtests
/
switch.js
1
var x = "b";
2
3
switch (x) {
4
case "hola":
5
print ("matched hola");
6
print ("Oh i rock");
7
case "a":
8
print ("matched a");
9
case "b":
10
print ("matched b");
11
case 1:
12
print ("matched 1");
13
default:
14
print ("blah this is default");
15
print ("this is default too ;-)");
16
case "afterDefault":
17
print ("matched after default");
18
}