Throttle an array of tasks | Uber frontend interview question

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 5

  • @VijayRajput-p4b4s
    @VijayRajput-p4b4s 2 месяца назад +1

    Hi Prashant
    Why are we using setTimeout here? Without that too, we could have done the throttling, no?

  • @manomano-kr7op
    @manomano-kr7op Год назад +1

    Can we use lastRun as Boolean ?