Is it possible to get the element without firstChild.
Please describe your question in detail.
We are considering rewriting the contents using nodeValue in Javascipt,
It won't be rewritten without firstChild.
Do you have any description without firstChild.
firstChild. is attached.
Enter the language name here
Please include more detailed information here.
Answer # 1
Description without firstChild.
is a requirement for your question, how about using textContent instead of nodeValue?
nodelist.item (0) .textContent = "Strong";
Operation check sample: https://codepen.io/jun68ykt/pen/VwwNNVd
Answer # 2
nodelist  .textContent = "Strong";
nodeValuefor the node itself is
If no text node is specified,
nodeValuewill not be text.
nodelist  .firstChildis a text node.