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

Function asIdlDictionary

test/parallel/test-webcrypto-webidl.js:19–21  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

17const opts = { prefix, context };
18
19function asIdlDictionary(value) {
20 return { __proto__: null, ...value };
21}
22
23function assertIdlDictionary(actual, expected) {
24 assert.deepStrictEqual(actual, asIdlDictionary(expected));

Callers 2

assertIdlDictionaryFunction · 0.85
assertJsonWebKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected