Skip to content

Commit 86131fe

Browse files
committed
removed padEnd(2, 0) because it is doing nothing
1 parent 5dc0b96 commit 86131fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ function toPounds(penceString) {
2020

2121
const pence = paddedPenceNumberString
2222
.substring(paddedPenceNumberString.length - 2)
23-
.padEnd(2, "0");
2423

2524
return ${pounds}.${pence}`;
2625
}

0 commit comments

Comments
 (0)