<!DOCTYPE html>
<html>
<body>
/*how ican make String.fromCharCode(i)
i take value from 0 to 1000 so print out letter every time */
JavaScript For Loop
<p id="demo"></p>
<script>
var text = "";
var i;
for (i = 0; i < 1000; i++) {
/*String.fromCharCode(i) "i" print the letter only 1000
and i want to print from 0 to 1000 */
text = String.fromCharCode(i)+ "<br>";
}
document.getElementById("demo").innerHTML = text;
</script>
</body>
</html>