code: function setText(element, text) {
      if (element.textContent != null) {
          element.textContent = text;
      } else if (element.innerText != null) {
          element.innerText = text;
      }
  }
docs: Sets the text in this element