From 1ffec7f51ed592cf9c11275277e0d3ee3bdbc907 Mon Sep 17 00:00:00 2001 From: Ayoub Mabrouk Date: Mon, 29 Dec 2025 14:41:56 +0100 Subject: [PATCH] test_runner: replace native methods with primordials Replace native methods with primordials. --- lib/internal/test_runner/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/test_runner/utils.js b/lib/internal/test_runner/utils.js index 937c52b08493ea..f62a4ce97f3ffd 100644 --- a/lib/internal/test_runner/utils.js +++ b/lib/internal/test_runner/utils.js @@ -431,7 +431,7 @@ function formatLinesToRanges(values) { if ((index > 0) && ((current - array[index - 1]) === 1)) { prev[prev.length - 1][1] = current; } else { - prev.push([current]); + ArrayPrototypePush(prev, [current]); } return prev; }, []), (range) => ArrayPrototypeJoin(range, '-'));