点击运行
JavaScript getSeconds()
getSeconds() 方法以数字(0-59)返回日期的秒:
运行结果