Skip to content

Commit 9cc908b

Browse files
committed
clean
1 parent 5c9e5f7 commit 9cc908b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Sprint-1/3-mandatory-interpret/3-to-pounds.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ console.log(`£${pounds}.${pence}`);
2828

2929
/*
3030
31-
1. const penceString = "399p";
32-
Initializes a string variable with the value "399p", representing a price in pence with a trailing "p".
33-
3431
2. const penceStringWithoutTrailingP = penceString.substring(0, penceString.length - 1);
3532
Removes the trailing "p" character from the string, leaving only the numeric part (e.g., "399").
3633

0 commit comments

Comments
 (0)