Skip to content

Handling Circular Structures #62

Description

@smizell

This is going to come up quickly, but we need to think about how to handle circular structures.

var minim = require('.minim');

var arr1 = new minim.ArrayElement();
var arr2 = new minim.ArrayElement();

arr1.push(arr2);
arr2.push(arr1);

console.log(arr1.toRefract());

This results in RangeError: Maximum call stack size exceeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions