The padEnd() of a String pads the string with a given string (repeated, if needed) so that the resulting string reaches a given length. The padding is applied from the end of the string.
const ingredient = 'Breaded Mushrooms';
const ingredientPadEnd = ingredient.padEnd(25, '.');
console.log(ingredientPadEnd);
// "Breaded Mushrooms........"
const number = '200';
const numberPadEnd = number.padEnd(5);
console.log(numberPadEnd);
// "200 "