JavaScript/Objects/Exercises

Topic: Objects

1. Be creative.
 * Create an object which describes some of your physical or mental attributes.
 * Show the object with the  command.
 * Show only the most important attribute of this object with the  command.
 * Add another property to the object. Show the complete object again.
 * Delete the least important attribute. Show the complete object again.

2. Articles of a warehouse.
 * Create two objects  and   which characterize shoes. Use the literal notation.
 * Create two other objects  and   which characterize shirts. First, create empty objects. Then, add attributes to the objects.
 * Create an object  and add all 4 objects to it.
 * Show the price of the 4.-th product out of the warehouse object.