Skip to content

Commit 974fb62

Browse files
committed
changed let to const
1 parent 0800bae commit 974fb62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-2/3-mandatory-implement/3-to-pounds.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ console.log(toPounds("447p")); // £4.47
2121

2222
// Method 2
2323
function toPounds(penceString) {
24-
let value = Number(penceString.slice(0, -1)) / 100;
24+
const value = Number(penceString.slice(0, -1)) / 100;
2525
return ${value.toFixed(2)}`
2626
}
2727

0 commit comments

Comments
 (0)