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

Function GetRandomObject

deps/v8/tools/generate-builtins-tests.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def GetRandomObject():
25 return random.choice([
26 "0", "1", "2.5", "0x1000", "\"string\"", "{foo: \"bar\"}", "[1, 2, 3]",
27 "function() { return 0; }"
28 ])
29
30
31g_var_index = 0

Callers 1

GetVarsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…