how to display js variable using document.write code example
Example 1: print things js
console.log("Hello World");
Example 2: How to write on a web page javascript
document.write("Hello") !-- Hello for example
console.log("Hello World");
document.write("Hello") !-- Hello for example