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

Function testError

deps/v8/test/mjsunit/json-parser-double-arrays.js:13–15  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

11}
12
13function testError(string) {
14 assertThrows(() => JSON.parse(string));
15}
16
17test('[]', []);
18test('[ ]', []);

Callers 1

Calls 2

parseMethod · 0.65
assertThrowsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…