Default parameters let callers omit values while still receiving sensible behavior. When you write width: number = 0, callers can pass just the string and the function will use 0.
You’ll implement left-padding: return the string with width spaces added on the left.