mcgowans1390 mcgowans1390 08-10-2022 Computers and Technology contestada why do we use while loops in javascript? to break out of some block of code to repeat some code while a condition is true to do something if a condition is true to repeat something for a fixed number of times