function isWeekEnd(date){
if( "天一二三四五六".charAt(new Date(date).getDay())=="天" ) return true;
if( "天一二三四五六".charAt(new Date(date).getDay())=="六" ) return true;
}
isweekEnd("2018-11-11")
10-22
3890
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)