Open Lucas32-dev opened 1 year ago
The first time throttle function is called will probably ignore the time frame value, due to the immense expression value (now - last Time), because now is a 10 digit number and lastTime is zero. Shouldn't lastTime be inicialized as a new Date()?