最佳答案
如何添加10秒到一个JavaScript日期对象?
就像这样:
var timeObject = new Date()
var seconds = timeObject.getSeconds() + 10;
timeObject = timeObject + seconds;