The _.debounce() method of Function in lodash is used to create a debounced function which delays the given func until after the stated wait time in milliseconds have passed since the last time this debounced function was called. const debounce = function(func, time) {
// 先將timer存在HOF…