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

Function handle_case

deps/v8/test/mjsunit/wasm/asm-wasm-switch.js:422–424  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

420 }
421
422 var handle_case = function(k) {
423 return "return ".concat(k, ";");
424 }
425 var wasm = LargeSwitchGenerator(0, 513, 1, handle_case);
426 for (var i = 0; i <= 513; i++) {
427 assertEquals(i, wasm.main(i));

Callers 1

LargeSwitchGeneratorFunction · 0.70

Calls 1

concatMethod · 0.80

Tested by

no test coverage detected