Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Refactor list_reset_parent using cll#_iter #40

Open
make-github-pseudonymous-again opened this issue Aug 9, 2020 · 0 comments
Open

Comments

@make-github-pseudonymous-again
Copy link
Member

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 ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant