Skip to content

Commit d8c4077

Browse files
committed
padEnd practice
1 parent dba1c5e commit d8c4077

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Sprint-2/Prep/functions.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@ console.log(passion)
3131

3232
const luckyNumber = "7"
3333
const changeNumber = luckyNumber.padStart(5, "0")
34-
console.log(changeNumber)
34+
console.log(changeNumber)
35+
36+
const anotherNumber = luckyNumber.padEnd(5, "0")
37+
console.log(anotherNumber)

0 commit comments

Comments
 (0)