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

Function toString

test/fixtures/wpt/compression/compression-constructor-error.any.js:14–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13test(t => {
14 assert_throws_js(Error, () => new CompressionStream({ toString() { throw Error(); } }), 'constructor should throw');
15}, 'non-string input should cause the constructor to throw');

Callers

nothing calls this directly

Calls 1

ErrorFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…