How to Pretty-print a JSON Object using JavaScript

How to Pretty-print a JSON Object using JavaScript