Fixed switch, something is wrong with function call parameters.

This commit is contained in:
Marvin Blum
2015-10-21 22:48:03 +02:00
parent 7aa5691863
commit dfe02ecef1
6 changed files with 43 additions and 27 deletions

View File

@@ -1,8 +1,7 @@
/*switch somevar {
case 1:
x = 1;
case 2:
x = 2;
}*/
func myFunc(a, b) {
return a > b;
}
var array = [1, 2, 3];
myFunc(1+3/4, 2-(66*22)/3-((123)));
foo();