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

Function parameterString

test/fixtures/wpt/WebCryptoAPI/generateKey/failures.js:62–74  ·  view source on GitHub ↗
(algorithm, extractable, usages)

Source from the content-addressed store, hash-verified

60
61
62 function parameterString(algorithm, extractable, usages) {
63 if (typeof algorithm !== "object" && typeof algorithm !== "string") {
64 alert(algorithm);
65 }
66
67 var result = "(" +
68 objectToString(algorithm) + ", " +
69 objectToString(extractable) + ", " +
70 objectToString(usages) +
71 ")";
72
73 return result;
74 }
75
76 // Test that a given combination of parameters results in an error,
77 // AND that it is the correct kind of error.

Callers 1

testErrorFunction · 0.70

Calls 2

alertFunction · 0.85
objectToStringFunction · 0.85

Tested by

no test coverage detected