assert: fix deepEqual RangeError: Maximum call stack size exceeded
Fixes: https://github.com/nodejs/node/issues/13314 Refs: https://github.com/nodejs/node/issues/6416
Checklist
-
make -j4 test
passes -
tests are included
Affected core subsystem(s)
assert