From 46e43f4bde4a35785b4997b81e86cd19f046b69b Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 21 Dec 2021 16:52:28 +0100 Subject: Commit --- src/counter.js | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 src/counter.js (limited to 'src/counter.js') diff --git a/src/counter.js b/src/counter.js new file mode 100644 index 0000000..3cf5ed0 --- /dev/null +++ b/src/counter.js @@ -0,0 +1,142 @@ +module.exports = (arr) => { + ltqty = { + a: 0, + b: 0, + c: 0, + d: 0, + e: 0, + f: 0, + g: 0, + h: 0, + i: 0, + j: 0, + k: 0, + l: 0, + m: 0, + n: 0, + o: 0, + p: 0, + q: 0, + r: 0, + s: 0, + t: 0, + u: 0, + v: 0, + w: 0, + x: 0, + y: 0, + z: 0, + total: 0, + } + + for (var i=0; i