MCPcopy Create free account
hub / github.com/nodejs/node / helper

Function helper

deps/v8/test/mjsunit/wasm/memory-resizable-buffer-array-concat.js:37–39  ·  view source on GitHub ↗
(receiver, ...params)

Source from the content-addressed store, hash-verified

35 // [1, 2, 3, 4] << fixedLength
36
37 function helper(receiver, ...params) {
38 return ToNumbers(Array.prototype.concat.call(receiver, ...params));
39 }
40
41 // TypedArrays aren't concat spreadable by default.
42 assertEquals([fixedLength, 5, 6, 7], helper(fixedLength, [5, 6], [7]));

Calls 2

ToNumbersFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected