mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-04 09:53:41 +00:00
Fixed: Make sure we handle undefined when testing for nil values (#2862)
This commit is contained in:
@@ -708,7 +708,7 @@ Returns a hash for the object. Unlike Cocoa, the hash value does not take conten
|
||||
var count = [self count],
|
||||
otherCount = [anArray count];
|
||||
|
||||
if (anArray === nil || count !== otherCount)
|
||||
if (anArray == nil || count !== otherCount)
|
||||
return NO;
|
||||
|
||||
var index = 0;
|
||||
|
||||
Reference in New Issue
Block a user