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

Function ObjectAssign

deps/v8/test/js-perf-test/ObjectLiteralSpread/run.js:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50function ObjectAssign() {
51 const result = Object.assign({}, input);
52 if (Object.keys(result).length != 5) throw 666;
53}
54
55function ObjectAssignAndOverwrite() {
56 const result = Object.assign({}, input, {a : 6});

Callers 15

ClientRequestFunction · 0.85
url.jsFile · 0.85
setMethod · 0.85
test.jsFile · 0.85
constants.jsFile · 0.85
checkExecSyncErrorFunction · 0.85
requestFunction · 0.85
AssertFunction · 0.85
assert.jsFile · 0.85
customInspectFunction · 0.85
TryGetAllPropertiesFunction · 0.85
errors.jsFile · 0.85

Calls 2

assignMethod · 0.80
keysMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…