+ var empty = {};
+ var optionsWithLength = { foo: { length: -1 } };
+ jQuery.extend(true, empty, optionsWithLength);
+ isObj( empty.foo, optionsWithLength.foo, "The length property must copy correctly" );
+
+ empty = {};
+ var optionsWithDate = { foo: { date: new Date } };
+ jQuery.extend(true, empty, optionsWithDate);
+ isObj( empty.foo, optionsWithDate.foo, "Dates copy correctly" );
+
+ var myKlass = function() {};
+ empty = {};
+ var optionsWithCustomObject = { foo: { date: new myKlass } };
+ jQuery.extend(true, empty, optionsWithCustomObject);
+ isObj( empty.foo, optionsWithCustomObject.foo, "Custom objects copy correctly" );
+