You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is caused by the fact that the objects with a null prototype cannot be converted to strings implicitly, and the array sort function performs a lexicographical sort on strings so it first tries to convert them to strings.
(Tested on Node 9.4)
The text was updated successfully, but these errors were encountered:
demurgos
added a commit
to demurgos/kryo
that referenced
this issue
Jan 30, 2018
The last line of
entriesEqual
throws the following error in my test cases:Here is how I can reproduce it with chai:
The error is caused by the fact that the objects with a null prototype cannot be converted to strings implicitly, and the array sort function performs a lexicographical sort on strings so it first tries to convert them to strings.
(Tested on Node 9.4)
The text was updated successfully, but these errors were encountered: