MCPcopy Create free account
hub / github.com/aesthetic0001/js-virtualizer / evaluate

Function evaluate

sample/functionWithDefault.js:4–10  ·  view source on GitHub ↗
(a = 1, b = 1)

Source from the content-addressed store, hash-verified

2
3// @virtualize
4function evaluate(a = 1, b = 1) {
5 function protoWithDefault(c = 4, d = 5) {
6 return c + d;
7 }
8 console.log(protoWithDefault());
9 return a + b;
10}
11
12console.log(evaluate());

Callers 1

Calls 1

protoWithDefaultFunction · 0.85

Tested by

no test coverage detected