how to print 1 to 10 using for loop in javascript 2 times code example
Example: javascript for loop that prints 10 times
for (let i = 0; i < 10; i++) {
console.log("Hello");
}
for (let i = 0; i < 10; i++) {
console.log("Hello");
}