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

Function foo2

deps/v8/test/mjsunit/math-abs.js:117–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115// https://codereview.chromium.org/21180004/
116var a = [-1, -2];
117function foo2() {
118 return Math.abs(a[0]);
119};
120%PrepareFunctionForOptimization(foo2);
121assertEquals(1, foo2());
122assertEquals(1, foo2());

Calls

no outgoing calls

Tested by

no test coverage detected