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

Function assertInstance

deps/v8/test/mjsunit/external-array.js:31–34  ·  view source on GitHub ↗
(o, f)

Source from the content-addressed store, hash-verified

29
30// Helper
31function assertInstance(o, f) {
32 assertSame(o.constructor, f);
33 assertInstanceof(o, f);
34}
35
36// This is a regression test for overlapping key and value registers.
37function f(a) {

Callers 1

external-array.jsFile · 0.85

Calls 2

assertInstanceofFunction · 0.85
assertSameFunction · 0.50

Tested by

no test coverage detected