Skip to content

Commit fbf5da3

Browse files
authored
Merge pull request #2 from LinusU/prefer-const
Prefer const over let
2 parents 1ed845e + 783b5f8 commit fbf5da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test('concurrency is 1 (by default)', async (t) => {
5454

5555
test('concurrency is 2', async (t) => {
5656
let total = 0
57-
let fn = makeConcurrent((x) => {
57+
const fn = makeConcurrent((x) => {
5858
total += x
5959
return wait(100)
6060
}, { concurrency: 2 })

0 commit comments

Comments
 (0)