Edit This Code:
<!DOCTYPE html>
<html>
<body>
<p id="demo"></p>

<script>
var x = 123;

document.getElementById("demo").innerHTML =
    x.valueOf() + "<br>" +
    (123).valueOf() + "<br>" +
    (100 + 23).valueOf();
</script>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy