method Duration.prototype.setSecondsimport { Duration } from "https://deno.land/x/durationjs@v4.1.1/src/duration.ts"; setSeconds(n: number): DurationSet seconds of the duration. Parametersn: numberNumber of seconds to set. ReturnsDurationThe updated duration.