Abstract
As you learned in the previous chapter, almost everything in JavaScript is an object, including functions. However, functions are much more than just bags for containing properties; they are how work gets done in the language. Typically, developers become aware of the specifics of functions only when something they wrote explodes in their face. My goal in this chapter is to expose the intricacies of JavaScript functions to you, which will hopefully save you from having to pull syntactic shrapnel from your codebase.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Mark E. Daggett
About this chapter
Cite this chapter
Daggett, M.E. (2013). Functions. In: Expert JavaScript. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6098-1_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6098-1_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6097-4
Online ISBN: 978-1-4302-6098-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books