codeGK
Code it ALL
document.write() in JavaScript - CodeGK

♦ document.write() in JavaScript

♣ Example1: document.write() in JavaScript

In this example, document.write() is illustrated.
Example
Input:
Output: