1
0
Fork 0

i am a dumbass

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-07-08 23:14:13 +07:00
parent 68589e968c
commit 69cb4416f2

View File

@ -50,7 +50,7 @@ export function damper(func, timeout = 300, force) {
// Deleting the force argument
if (typeof force === "number") args = [
...args.splice(0, force),
...args.splice(force + 1)
...args.splice(force)
];
// Writing promise handlers into the arguments variable
@ -64,7 +64,7 @@ export function damper(func, timeout = 300, force) {
// Deleting the force argument
if (typeof force === "number") args = [
...args.splice(0, force),
...args.splice(force + 1)
...args.splice(force)
];
// Writing promise handlers into the arguments variable