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

Function commit

lib/internal/freeze_intrinsics.js:480–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

478 }
479
480 function commit() {
481 // TODO: Curried forEach
482 // We capture the real WeakSet.prototype.add above, in case someone
483 // changes it. The two-argument form of forEach passes the second
484 // argument as the 'this' binding, so we add to the correct set.
485 freezingSet.forEach(frozenSet.add, frozenSet);
486 }
487
488 enqueue(node);
489 dequeue();

Callers 1

innerDeepFreezeFunction · 0.85

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected