MCPcopy Index your code
hub / github.com/nodejs/node / format

Function format

deps/v8/test/mjsunit/bool-concat.js:28–34  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

26// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28function format(a) {
29 if (a) {
30 return "X"+true+"Y";
31 } else {
32 return "X"+false+"Y";
33 }
34}
35
36for (var i = 0; i < 1000; i++) {
37 assertEquals("XtrueY", format(true));

Callers 2

bool-concat.jsFile · 0.70
errorMessageFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…