problems with "length" as object property when using jquery.extend

problems with "length" as object property when using jquery.extend


Hello,
It seems that it's not safe to use "length" as a nested object
property if I want to use jquery.extend. I imagine you folks already
know about this, but I wasn't able to come up with any mentions after
a quick search. Spent a bit of time tracking down the source of a bug
this morning and determined that it was do to the following:
$.extend(true, {},{"prop":{"length":"-1"}});
jquery's generally working great for me. Thanks.
-Morgan