How to pretty print JSON string in JavaScript ?

GeeksforGeeks