[][src]Function boa::js::string::pad_start

pub fn pad_start(this: &Value, args: &[Value], _: &Interpreter) -> ResultValue

String.prototype.padStart ( maxLength [ , fillString ] )

Pads the string with the given filler at the start of the string. Filler defaults to single space. https://tc39.es/ecma262/#sec-string.prototype.padstart/