The value property of the HTMLOutputElement interface represents the value of the element as a string, or the empty string if no value is set. It returns or sets the contents of the element, similar to the textContent property.
value
MDN Reference