+ 1
Hello fam! Please where and when do i use a conditional or a loop in JavaScript codes?
When to use a conditional instead of a loop or a loop instead of a conditional
1 Antwort
+ 3
You use conditionals when you want to decide under which circumstances *either* one thing *or* another thing happens.
You use loops whenever you need to do one thing several times.