MCPcopy Index your code
hub / github.com/kpdecker/jsdiff / stringify

Function stringify

test/diff/line.js:170–172  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

168
169 it('should keep leading and trailing whitespace in the output', function() {
170 function stringify(value) {
171 return JSON.stringify(value, null, 2);
172 }
173 const diffResult = diffTrimmedLines(
174 stringify([10, 20, 30]),
175 stringify({ data: [10, 42, 30] }));

Callers 1

line.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected