Skip to content

Commit 8d36d8f

Browse files
committed
Refactor single argument lambdats
1 parent 0c10a57 commit 8d36d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScript/9-collector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
function Collector() {}
44

5-
const collect = (expected) => {
5+
const collect = expected => {
66
const collector = (key, value) => {
77
if (collector.finished) return collector;
88
collector.count++;

0 commit comments

Comments
 (0)