mirror of
https://github.com/denoland/deno.git
synced 2025-10-01 14:41:15 +00:00
clean up code in cli/js (#6611)
This commit is contained in:
parent
ab4c574f52
commit
158ae0bfe9
89 changed files with 395 additions and 354 deletions
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// Derived from https://github.com/vadimg/js_bintrees. MIT Licensed.
|
||||
|
||||
import { assert } from "./util.ts";
|
||||
|
@ -27,7 +29,7 @@ class RBNode<T> {
|
|||
}
|
||||
|
||||
export class RBTree<T> {
|
||||
#comparator: (a: T, b: T) => number;
|
||||
readonly #comparator: (a: T, b: T) => number;
|
||||
#root: RBNode<T> | null;
|
||||
|
||||
constructor(comparator: (a: T, b: T) => number) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue