in node.js v4.x: RangeError: Maximum call stack size exceeded
i5ting opened this issue · 0 comments
i5ting commented
let ent1 = {key:'a', value:5, newer: undefined, older: undefined };
let ent0 = {key:'b', value:6, newer: undefined, older: ent1 };
ent1.newer = ent0;
// in node.js v4.x: RangeError: Maximum call stack size exceeded
// also see https://github.com/substack/node-deep-equal/issues/19
// use deep-equal can be compatible with more node version
// assert.deepEqual(c.newest, ent0);
// assert.deepEqual(c.oldest, ent1);
also see inspect-js/node-deep-equal#19
use deep-equal can be compatible with more node version