[−][src]Function boa::builtins::string::pad_end
pub fn pad_end(
this: &mut Value,
args: &[Value],
ctx: &mut Interpreter
) -> ResultValue
String.prototype.padEnd( targetLength[, padString] )
The padEnd()
method pads the current 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 current string.
More information: