marceloxp
7/23/2013 - 9:26 PM

JavaScript switch

JavaScript switch

switch (expression)
{
	case label1:
		statements1
	break;
	case label2:
		statements2
	break;
	default:
		statements_def
	break;
}