JavaScript untuk Loop Tampilkan teks lima kali

// program to display text 5 times
const n = 5;

// looping from i = 1 to 5
for (let i = 1; i <= n; i++) {
    console.log(`I love JavaScript.`);
}
SAMER SAEID