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

Function stringify

deps/v8/test/webkit/resources/standalone-pre.js:90–98  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

88}
89
90function stringify(v)
91{
92 if (v)
93 return v.toString();
94 if (v === 0 && 1/v < 0)
95 return "-0";
96 else
97 return "" + v;
98}
99
100function shouldBe(_a, _b)
101{

Callers 3

shouldBeFunction · 0.70
shouldThrowFunction · 0.70
math-transforms.jsFile · 0.50

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected