Definir texto do elemento DOM

document.getElementById("myBtn").textContent = 'Hello World';
Nasty Narwhal