node/lib/internal/modules/cjs
Antoine du Hamel 83cce8717f lib: use <array>.push and <array>.unshift instead of <array>.concat
Using `push` and `unshift` methods is more performant than reassigning a
new array created with `concat`.

PR-URL: https://github.com/nodejs/node/pull/37239
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-02-26 11:11:22 +01:00
..
helpers.js module: refactor to use more primordials 2020-11-09 19:05:31 +00:00
loader.js lib: use <array>.push and <array>.unshift instead of <array>.concat 2021-02-26 11:11:22 +01:00