Another type of JavaScript loop is called a `while loop` because it runs `while` something is true, and stops once that something is no longer true. Unlike the `for loop`, which is made up of three parts, the `while loop` only contains a condition statement.