beautify console log result

Solutions on MaxInterview for beautify console log result by the best coders in the world

showing results for - "beautify console log result"
Paula
03 Sep 2016
1var obj = {x: 1, y: 2, z: 3};
2
3console.log( JSON.stringify(obj, null, 2) ); // spacing level = 2
4
similar questions
queries leading to this page
beautify console log result