What happens if you have a falling out with your web developer and decide to take your code to a different development team or developer? You would think that would be easy enough right? Just take the code of your application and hand it off to someone new. But what happens when your new developer takes a look at the code and has no idea where to begin with changes because your old developer didn't document anything? Well, your new developer is stuck trying to figure out why the code was written as it was, which will require a lot of time and more funding.
When you are shopping around for a development team or a developer, you want to make sure they document their code. Documenting their code means they put notes as to why they did what they did and other tid bits of information that would help someone in their understanding of the application.
You might want to make sure they guarantee documented code in their contract to protect yourself should they skip over it.