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

Function createWithNoPrototype

test/parallel/test-querystring.js:30–36  ·  view source on GitHub ↗
(properties)

Source from the content-addressed store, hash-verified

28const qs = require('querystring');
29
30function createWithNoPrototype(properties) {
31 const noProto = { __proto__: null };
32 properties.forEach((property) => {
33 noProto[property.key] = property.value;
34 });
35 return noProto;
36}
37// Folding block, commented to pass gjslint
38// {{{
39// [ wonkyQS, canonicalQS, obj ]

Callers 1

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…