From 767b15f3b930c510e289eb80d81d701cd735f07d Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 18 Oct 2018 09:22:11 +0200 Subject: [PATCH] add comment --- lib/util/comparators.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/util/comparators.js b/lib/util/comparators.js index 1f8df0973..a4fb3b061 100644 --- a/lib/util/comparators.js +++ b/lib/util/comparators.js @@ -355,6 +355,8 @@ const compareIterables = elementComparator => { }; exports.compareIterables = compareIterables; +// TODO this is no longer needed when minimum node.js version is >= 12 +// since these versions ship with a stable sort function /** * @template T * @param {Iterable} iterable original ordered list