Regardless of what you attitude is with lodash these days I will make this post also about same Value Zero in general so that this is not just a post on lodash eq alone.
So when comparing two values there is the equality operator and then the identity operator. These to operators do the same thing which is comparing two values to see if they are equal. However then do so in very different ways, and will not always return true and false for the same set of values.
So the lodash eq method is yet another way of comparing two values to see if they are equal, but it also follows a different way of determining equality. For example the lodash eq method will return true even when comparing two values that are NaN, something that will result in a false value for equality and identity.