Closed bengl closed 7 years ago
Yeah, good catch. The two argument version does search the prototype chain also... Essentially, if the two values either are the same built-in, or are descendents of the same built-in, is()
returns true
this has been since refactored
but
The two-argument case, for consistency with the one-argument case, should probably include the "or has a built-in object within its prototype chain" bit.