meteor-fast-render icon indicating copy to clipboard operation
meteor-fast-render copied to clipboard

Array with nulls

Open jean343 opened this issue 7 years ago • 0 comments

Hello,

Thanks for your fork, it helps me a lot!

I am having one issue with DeepExtend, it will merge arrays with null by removing the nulls. For example, if we merge [{},null,{}] with itself, it will result in [{},{}], which is incorrect as the keys differs.

My proposed solution is to change the is_null to isUndefined in the array case of DeepExtend

Thanks!

jean343 avatar Feb 26 '18 04:02 jean343