change innertext javascript

JavaScript
element.innerText = "Hello World";
Source

Also in JavaScript: