js-switch

获取星期:   new Date().getDay()

switch(判断的内容){

  case 条件:

  break;

    .

    .

    .

 default:

}

posted @ 2018-09-15 22:55  键1234  阅读(213)  评论(0编辑  收藏  举报