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

Function species_breakage

deps/v8/test/mjsunit/optimized-map.js:572–578  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570 var result = 0;
571 var a = [1,2,3];
572 var species_breakage = function() {
573 var callback = function(v,i,o) {
574 result += v;
575 return v;
576 }
577 a.map(callback);
578 };
579 %PrepareFunctionForOptimization(species_breakage);
580 species_breakage();
581 species_breakage();

Callers 1

optimized-map.jsFile · 0.70

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected