Edit This Code:
See Result »
<
!DOCTYPE
html
>
<
html
>
<
body
>
<
p
id
="demo"
>
<
/p
>
<
script
>
var
x =
"Hello"
;
var
x =
5
;
document.getElementById(
"demo"
).innerHTML =
typeof
x;
<
/script
>
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var x = "Hello"; var x = 5; document.getElementById("demo").innerHTML = typeof x; </script> </body> </html>
Result:
Privacy Policy