Код: Выделить всё
const th = (val) => _.throttle(() => { console.log(val) }, 1000);
function fu(el) {
th(el.value);
}
< /code>
throttleПодробнее здесь: https://stackoverflow.com/questions/797 ... -no-errors
Код: Выделить всё
const th = (val) => _.throttle(() => { console.log(val) }, 1000);
function fu(el) {
th(el.value);
}
< /code>
throttle