m)
      })
    }

    function createIterations() {
      const iterations = []

      numbers.forEach((num, index, arr) => {
        iterations.push(create(num))
      })

      return iterations
    }

    startButton.addEventListener('click', () => {
      if (!isActive) {
        isActive = true
        const iterations = createIterations()

        Promise.all(iterations).then(() => {
          setTimeout(() => {
            clearActive()
            isActive = false
          }, SECOND)
        })
  