for loop that prints the numbers from 1 to 10 js code example Example: javascript for loop that prints 10 times for (let i = 0; i < 10; i++) { console.log("Hello"); }