June
26th,
2017
JavaScript objects are containers for named values called properties or methods. A method is actually a function definition stored as a property value.
You can access object properties in two ways: