'javascript firstChild property shows double low 9 "„" after setting string as innerHTML on element

check my below code, inside while loop, node value shows double low 9 "„" character at the end.

let html = '{{c1::some text}}'
let div = document.createElement("div");
div.innerHTML = html 
    
while (node = div.firstChild) {
   console.log(node); // "some text„"
   lastNode = frag.appendChild(node);
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source