Skip to content

Bug in Node js #29

Description

@dbelov24

If space don't have static objects, in 2565 lines in cp.js file
if(this.root) subtreeQuery(this.root, bb, func);
this - global node js object, and it have root property. And the condition is true, although this don't cp.BBTree. Additional check on the this instanceof cp.BBTree solves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions