function godini(start, end) { document.write(""); for (var i = start; i <= end; i++) { document.write("" + i + ""); } document.write(""); } godini(2000, 2020); godini(1900, 1950);