Code to create objects with Prototypes