JS Tutorials
JS Objects
JS Functions
JS Classes
JS Async
Properties are the values associated with a JavaScript object.
A JavaScript object is a collection of unordered properties.
Properties can usually be changed, added, and deleted, but some are read only.
The syntax for accessing the property of an object is:
                                
                                    objectName.property      // person.age
                                
                            
                        or
                                
                                    objectName["property"]   // person["age"]
                                
                            
                        or
                                
                                    objectName[expression]   // x = "age"; person[x]
                                
                            
                        The expression must evaluate to a property name.
                                person.firstname + " is " + person.age + " years old."; 
                           
                                    person["firstname"] + " is " + person["age"] + " years old.";