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

pub fn ends_with(this: Value, _: Value, args: Vec<Value>) -> ResultValue

Returns a Boolean indicating whether the sequence of code units of the "search string" is the same as the corresponding code units of this string starting at position "end position" - length https://tc39.github.io/ecma262/#sec-string.prototype.endswith