ianstormtaylor / is-empty

Check whether a value is empty.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Returns `true` for an Object with a `length` property

kenany opened this issue · comments

isEmpty({'length': 0});
// => true

I've fixed this by change the order of assertion.