Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html>
<head>
<script>
function boom() {
var div = document.getElementById('div');
div.appendChild(document.createTextNode(String.fromCharCode(8238)));
div.appendChild(document.createTextNode(String.fromCharCode(50377)));
div.appendChild(document.createTextNode(String.fromCharCode(50)));
div.textContent = div.textContent.slice(1);
}
</script>
</head>
<body onload="boom()">
<div id="div" style="word-spacing:2px; text-align:right">x</div>
</body>
</html>