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

Function createProperty

lib/zlib.js:956–965  ·  view source on GitHub ↗
(ctor)

Source from the content-addressed store, hash-verified

954}
955
956function createProperty(ctor) {
957 return {
958 __proto__: null,
959 configurable: true,
960 enumerable: true,
961 value: function(options) {
962 return new ctor(options);
963 },
964 };
965}
966
967function crc32(data, value = 0) {
968 if (typeof data !== 'string' && !isArrayBufferView(data)) {

Callers 2

zlib.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…