Bit #23 JSON.stringify takes 3 parameters. The third parameter can be used to pretty-print the output. JSON.stringify({ n: 4 }, null, 2);