What is Looping? And why do we use it?
Loops are used to execute a block of code repeatedly without writing the same code multiple times. They help reduce code repetition and make programs more efficient.
example:
without looping:



console.log(1);
console.log(2);
console.log(3);
console.log(4);
console.log(5);






with looping:
for...