Edit This Code:
See Result »
<
!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
>
<!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:
Privacy Policy