JavaScript's data types can be combined to create more sophisticated structures.


Functions

JavaScript functions are an important method for organizing your scripts.



Objects

JavaScript objects are the key to interacting with documents.


Question: What other document objects have we encountered already? What properties did they have?
 


Arrays

JavaScript does not have an explicit array type, but you can create an array object.