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

Function mapper

deps/v8/test/mjsunit/es6/typedarray-from.js:99–101  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

97
98 // Use a map function that returns non-numbers.
99 function mapper(value, index) {
100 return String.fromCharCode(value);
101 }
102 var d = defaultValue(constructor);
103 assertArrayLikeEquals(
104 constructor.from([72, 69, 89], mapper), [d, d, d], constructor);

Callers 1

mapTypeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected