Given a string and a length, add padding to the end of the string to make it the given length.
// input:
const s = 'hello', l = 10
// output:
'hello '
(Ctrl + ')
Loading...
/* output */
Next(Ctrl + y)
Given a string and a length, add padding to the end of the string to make it the given length.
// input:
const s = 'hello', l = 10
// output:
'hello '
/* output */