animation-duration: value;
object.style.animationDuration = "value";
<'animation-duration'> = <time>#
<time>
Defines how long of a delay there is between the start of the animation and when it begins executing.
ms
Milliseconds. There are 1000 milliseconds in 1 second.