Browse Source

Création class pour gerer format du retour de finder

Arthur Brandao 5 năm trước cách đây
mục cha
commit
0d4f10c868
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      src/finder/formatter.js

+ 7 - 0
src/finder/formatter.js

@@ -0,0 +1,7 @@
+const formatter = class Formatter {
+
+    _alphabeticalSort(a, b) {
+        return (a > b) ? 1 : -1;
+    }
+
+};