Abstract
Data and decision making are fundamental to every “intelligent” program. We’ll begin this chapter by looking at how JavaScript understands, or represents, data. This is important because JavaScript works with a number of data types and manipulates data according to its data type. You can generate unexpected results by mismatching data of different types. We’ll look at some of the more common data type problems, and you’ll see how to convert one type of data to another.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 2006 Christian Heilmann
About this chapter
Cite this chapter
(2006). Data and Decisions. In: Beginning JavaScript with DOM Scripting and Ajax. Apress. https://doi.org/10.1007/978-1-4302-0184-7_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0184-7_2
Publisher Name: Apress
Print ISBN: 978-1-59059-680-7
Online ISBN: 978-1-4302-0184-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books