It allows you to have many different javascript files to separate your code logically, and it automatically compresses them into one file for you for deployment. In this way you don't have to compromise speed for clarity.
If you're interested in advanced JS I highly recommend this book. http://jspro.org/