JavaScript Strings

The padEnd() Method

The padEnd() method pads a string at the end.

It pads the string with another string (multiple times) until it reaches a given length.