Building and Object Literal Notation: JavaScript
This video will take us through how to build an object that has multiple types of property:value pairs. Strings, numbers, arrays, other objects, and methods (functions). We will see when new is used to build objects, and how this becomes the object model almost - basically allowing to us to access properties of the object within functions in the object! Boom.
This video will take us through how to build an object that has multiple types of property:value pairs. Strings, numbers, arrays, other objects, and methods (functions). We will see when new is used to build objects, and how this becomes the object model almost - basically allowing to us to access properties of the object within functions in the object! Boom.