Skip to content

Refactor list_reset_parent using cll#_iter #40

Description

Need to implement #17 first to check for performance. See also make-github-pseudonymous-again/js-library#7 (comment).

import { _iter } from '@aureooms/js-cll';
export default function list_reset_parent(children) {
        for ( const x of _iter(children) ) x.parent = null ;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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