Yes, but it doesn't raise the change event.
change - Event reference | MDN[^]:
The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user.
<var> is not one of the elements that fires the change event.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer