Some times you need to edit JavaScript files that have been minified.

Minifying JavaScript compresses the code into as few lines as possible, removing line breaks, and extra spaces and tabs.

If you need to edit someone else’s code, it can be hard to visualise what is happening when you view minified JavaScript.

To format, or beautify minified Javascript into readable code, just do a Google search for “online js beautifier”.  You’ll find sites like jsbeautifier.org

 

If this post raised some questions feel free to ask me a question