mirror of https://github.com/tc39/test262.git
Check for identity of functions in deepEqual
This commit is contained in:
parent
71794b1388
commit
62d48cf9ed
|
@ -209,7 +209,7 @@ assert.deepEqual._compare = (function () {
|
|||
}
|
||||
|
||||
function isObjectEquatable(value) {
|
||||
return typeof value === 'object';
|
||||
return typeof value === 'object' || typeof value === 'function';
|
||||
}
|
||||
|
||||
function compareObjectEquality(a, b, cache) {
|
||||
|
|
Loading…
Reference in New Issue