« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/util/count.js
diff options
context:
space:
mode:
Diffstat (limited to 'util/count.js')
-rw-r--r--util/count.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/count.js b/util/count.js
index 7df97a7..24c11b0 100644
--- a/util/count.js
+++ b/util/count.js
@@ -5,7 +5,7 @@ module.exports = function count(arr) {
 
   const map = new Map()
 
-  for (let item of arr) {
+  for (const item of arr) {
     if (map.has(item)) {
       map.set(item, map.get(item) + 1)
     } else {