4 ms·
Haxe also produces pretty nice JS output: var needsCancelButton = function(screen) { switch(screen) { case 0:case 1: return true; case 2: return false;
by andyonthewings 8y ago
Haxe also produces pretty nice JS output:
var needsCancelButton = function(screen) {
switch(screen) {
case 0:case 1:
return true;
case 2:
return false;
}
};
The Haxe code can be found here: https://try.haxe.org/#79e40 https://try.haxe.org/#79e40