0

Recently I am reading the source code of lodash debounce function. I can't figure out why timeSinceLastCall could be less than 0 in the shouldInvoke method. The comment says that the system time has gone backwards. What does it mean? The source code of lodash debounce is here: https://github.com/lodash/lodash/blob/4.8.0-npm/debounce.js

Samuel Gong
  • 157
  • 1
  • 1
  • 7

0 Answers0