// Espruino complains about breaks at the end of 'default' - it shouldn't switch(2){ case 1:break; default:break; } result = 1;