This code returns true for the Object which contain length property.
Our solution
We have added the nativeIsArray checking and now the isArrayLike() function returns the false for objects with length property.
You can test it via the following code:
In the browser console run the following code:
Description
We have noticed that isArrayLike() function returns true for objects which contain length attribute.
Steps to reproduce
In the browser console run the following code:
This code returns true for the Object which contain length property.
Our solution
We have added the nativeIsArray checking and now the isArrayLike() function returns the false for objects with length property. You can test it via the following code: In the browser console run the following code: