Added Chapter 4 examples.
Changed throw error issue.
Added suggested changes from the pull request.
added short explanation of how function args are defined.
Merge pull request #9 from joesus/master

[professional javascript] ch4 - Added Chapter 4 examples.