Access text typed in a textarea with javascript

var textarea = document.getElementById("id");
var text = textarea.innerHTML;

My problem is that “text” always remains the value the textarea started out with. Not what was typed in.

Page loads with “sample text”
Change text to “other”
Call the above code
Value of the var text is “sample text”

Research suggests that entering text, changes some other type of object. But how do I access that one?

The only thing resembling a workaround, at best, so far. Seems to be recording inputs with on change events. But that seems to be absurdly over complicated. When I just need one single snapshot once, on explicit request.