title: Can I use setAttribute to change the text inside the text node?
body: <p>I know that I can use nodeValue to change the text inside the text like<br><code>element.firstChild.nodeValue = text</code><br> but can I use setAttribute to do the same thing?</p>
  
  <p><strong>HTML :</strong>  </p>
  
  <pre><code>&lt;p id="description"&gt;Some text here.&lt;/p&gt;
  </code></pre>
  
  <p><strong>JS :</strong></p>
  
  <pre><code>var description = document.getElementById("description");
  description.setAttribute(nodeValue, text);
  </code></pre>
  
  <p>It doesn't work. Does it means that "nodeValue" is not an attribute of an element? </p>