Skip to content

Commit 8926551

Browse files
committed
Add clarification on argument listing and purpose of "," at end
1 parent e11351d commit 8926551

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎Sprint-2/3-mandatory-interpret/3-to-pounds.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ console.log(`£${pounds}.${pence}`);
6565
// since our String length is 2 the method will do nothing
6666

6767
// 6. Finally line 18 will print out the desired format we have added what to be printed inside the back-ticks if they are variables we will put them in ${}
68+
69+
// note on line 5 and line 11
70+
// "," was simply added at the end of the second argument just to tell that we have finished listing our arguments
71+
// it does not mean we are going to put third argument. It can be ignored also it does not make a difference

0 commit comments

Comments
 (0)