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

Method accessCount

lib/internal/test_runner/mock/mock.js:346–348  ·  view source on GitHub ↗

* Retrieves the number of times the property was accessed (get or set). * @returns {number} The total number of accesses.

()

Source from the content-addressed store, hash-verified

344 * @returns {number} The total number of accesses.
345 */
346 accessCount() {
347 return this.#accesses.length;
348 }
349
350 /**
351 * Sets a new value for the property.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected