Does not detect Objects correctly
Opened this issue · 0 comments
marcoancona commented
Cool project, exactly what I was looking for.
I notice one problem. When using immutable=False
the function is_object(ref)
is called to check whether the element is an Object in order to force the update.
The function, however, returns several false negatives as ref.constructor === Object
evaluates to false
for several objects. Why not keep only return ref instanceof Object
?