The HTMLMediaElement.loop property reflects the loop HTML attribute, which controls whether the media element should start over when it reaches the end.
A boolean value.
const obj = document.createElement("video");
obj.loop = true; // trueHTMLMediaElement: Interface used to define the HTMLMediaElement.loop property