A
Archos
Is ok don't add a "break" statement in the last "case" one? Because
JavaScript Lint shows:
lint warning: missing break statement for last case in switch
// ===
var x = tag
switch (1) {
case x < 0:
str = "negative"; break;
default:
str = "positive";
}
// ===
JavaScript Lint shows:
lint warning: missing break statement for last case in switch
// ===
var x = tag
switch (1) {
case x < 0:
str = "negative"; break;
default:
str = "positive";
}
// ===