var date =new Date().getDay(); switch(day){ case 6:x="saturday";break; case 0:x="sunday" ;break; default: x="looking for weekend" }
2.1m questions
2.1m answers
60 comments
57.0k users