Creates an object that inherits from the given prototype object. If a properties object is provided its own enumerable properties are assigned to the created object.
The object to inherit from.
Optional
The properties to assign to the object.
Returns the new object.
Creates an object that inherits from the given prototype object. If a properties object is provided its own enumerable properties are assigned to the created object.