--------------------------随机日期---------------------------
toString() 输出完整的标标准日期格式,带时区
tolocaleString () 输出浏览器的当地时间的完整格式
tolocaleDateString() 输出当时时间的日期部分//2018.3.2
tolocaleTimeString() 输出当地时间部分 //12:14:35
员工续签合同:
--------------------------定时器-----------------------------
关键字:setInterval("经过毫秒数需要运行的函数",毫秒数)--------设置定时器
clearinterval(需要清除的定时器)-----清除定时器
注意:定时器不需要用var进行接收,直接定义即可;
设置轮播图:
做弹窗广告: