mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
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…
x
Reference in New Issue
Block a user