diff options
Diffstat (limited to 'src/bun.js/api/bun.zig')
-rw-r--r-- | src/bun.js/api/bun.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/bun.zig b/src/bun.js/api/bun.zig index 298c41e63..f4900d0d2 100644 --- a/src/bun.js/api/bun.zig +++ b/src/bun.js/api/bun.zig @@ -2933,7 +2933,7 @@ pub const Timer = struct { args_buf[0] = arguments; args = args_buf[0..1]; } else { - const count = arguments.getLengthOfArray(globalThis); + const count = arguments.getLength(globalThis); if (count > 0) { if (count > args_buf.len) { args = bun.default_allocator.alloc(JSC.JSValue, count) catch unreachable; |