Expand|Select|Wrap|Line Numbers
- switch (msgtype == ) {
- case '0' :
- title = "Error Condition -- see Tom ";
- break;
- case '1' :
- title = "Domestic Program";
- break;
- case '2' :
- title = "Ken ";
- break;
- case '3' :
- title = "Tom";
- break;
- case '4' :
- title = "ISSA Preparers";
- break;
- case '5' :
- title = "Unanticipated Condition Found-- see Tom ";
- break;
- default :
- title = "msgtype has unexpected value";
- }
Should I have double quotes (") around each case value?
Can anyone recommend a good javascript book that shows the finer points of javascript syntax?
TIA
trbjr