function domCreateTextNode(doc, text) {
  return doc.createTextNode(text);
}
Creates a new text node in the given document.

@param {Document} doc  Target document.
@param {String} text  Text composing new text node.
@return {Text}  Newly constructed text node.