It is like @CanIUse but for the browser devtools, created & curated by @pankajparashar. Get weekly tips & tricks for your favorite browser devtools by subscribing to the newsletter!
In the Sources tab, open the .js file from the left sidebar. In the bottom tray, click the icon {} titled "Pretty print" to pretty print the JavaScript code.
This will open the formatted file in a new tab suffixed ":formatted".