Skip to content

Commit 18e42f9

Browse files
andreipfeifferkvz
authored andcommitted
Lint: use const instead of let when identifier reference doesn't change (locutusjs#337)
1 parent 404552b commit 18e42f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c/math/frexp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function frexp (arg) {
4040

4141
arg = Number(arg)
4242

43-
let result = [arg, 0]
43+
const result = [arg, 0]
4444

4545
if (arg !== 0 && Number.isFinite(arg)) {
4646
const absArg = Math.abs(arg)

0 commit comments

Comments
 (0)