Formating javascript source code [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . There is js file with a lot of code in unreadable format (all code in one line): JS file Is there a tool to format to a "normal" view? 回答1: The developer tools, integrated in most modern browsers, are capable of cleaning up the formatting. As an example, below is an animated GIF showing how you can achieve this