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

Method equals

deps/v8/test/mjsunit/harmony/private-methods.js:57–59  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

55 return this.#a + 1;
56 }
57 equals(obj) {
58 return this.#getAPlus1() === obj.#getAPlus1();
59 }
60 }
61 const c = new C(0);
62 const c2 = new C(2);

Calls 1

#getAPlus1Method · 0.95

Tested by

no test coverage detected