assert.deepEqual
loops forever with circular refs #6416
Closed
Description
Version: v4.4.3
Platform: Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Code:
var assert = require('assert');
var b = {};
b.b = b;
var c = {};
c.b = c;
assert.deepEqual(b, c);
Expected: no exceptions.
Actual: RangeError: Maximum call stack size exceeded
See also:
Activity