Recursion

When a fnuction calls itself until it doesn’t. Duh!

let countDownFrom = num => {
  if (num === 0) return
  countDownFrom(num -1)
}
countDownFrom(10)