Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

in node.js v4.x: RangeError: Maximum call stack size exceeded #20

Closed
i5ting opened this issue Nov 16, 2016 · 0 comments
Closed

in node.js v4.x: RangeError: Maximum call stack size exceeded #20

i5ting opened this issue Nov 16, 2016 · 0 comments

Comments

@i5ting
Copy link

i5ting commented Nov 16, 2016

  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

@i5ting i5ting closed this as completed Nov 21, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant