whole_func_string: function setTextContent(node, value) {
    if (isCommentNode(node)) {
      node.data = value;
    } else if (isTextNode(node)) {
      node.value = value;
    } else {
      var tn = newTextNode(value);
      tn.parentNode = node;
      node.childNodes = [tn];
    }
  }
func_code_string: function setTextContent(node, value) {
    if (isCommentNode(node)) {
      node.data = value;
    } else if (isTextNode(node)) {
      node.value = value;
    } else {
      var tn = newTextNode(value);
      tn.parentNode = node;
      node.childNodes = [tn];
    }
  }
func_documentation_string: Set the text value of a node or element
  
  Equivalent to `node.textContent = value` in the browser