Hi Arian.

I corrected a little error while writing you made,

if (i < (l - 1) && (!source.hasOwnProperty(parts[i]) || !
Type.isObject(source[i]))){
to
if (i < (l - 1) && (!source.hasOwnProperty(parts[i]) || !
Type.isObject(source[parts[i]]))){

you missed the parts[i] while asking for the type of source[ ]
and that's it

jsFiddle:
http://jsfiddle.net/Ciul/uqcDR/4/

Best regards,
Ciul

Reply via email to