'innerText returns value of "value" attribute in Internet Explorer but not in Chrome

When I set value of an element via script

textAreaObject.value = "some text"

and try to get text of this object via textObject.innerText Internet Explorer 11 returns "some text" but chrome does not.

According to this link https://caniuse.com/innertext there is a known issue of IE 11 incorrectly returning value of placeholder attribute via innerText, but I could not find anything about same happening for value attribute. Is this a bug in IE11?

Example chrome:

enter image description here

Example IE:(same html file)

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source