JS Texto interno
document.getElementById("text").innerText = "Your new text here"
DevLorenzo
document.getElementById("text").innerText = "Your new text here"
element.innerText = "Hello World";
var x = document.getElementById("myBtn").innerText;
document.getElementById("heading").innerText='';
var text = document.querySelector('#text').innerText; //'#':id '.':class