How to create a switch case with a “less-than” instead of an “equals” condition?
17:56 30 Jun 2011
switch (t.value) {
    case < 5:
        alert('hi');
        break;
}

I know it's the part where I have "< 5". How do I make it so that it has a case where t.value is less than 5??

javascript