mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
LibJS: Fix linked specification of String.prototype.concat
This commit is contained in:
parent
b583726deb
commit
4985d3ef42
Notes:
sideshowbarker
2024-07-18 10:20:27 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/4985d3ef42d Pull-request: https://github.com/SerenityOS/serenity/pull/8475 Reviewed-by: https://github.com/IdanHo
@ -409,7 +409,7 @@ JS_DEFINE_NATIVE_FUNCTION(StringPrototype::trim_end)
|
||||
return js_string(vm, Utf8View(*string).trim(whitespace_characters, TrimMode::Right).as_string());
|
||||
}
|
||||
|
||||
// 22.1.3.23 String.prototype.substring ( start, end ), https://tc39.es/ecma262/#sec-string.prototype.substring
|
||||
// 22.1.3.4 String.prototype.concat ( ...args ), https://tc39.es/ecma262/#sec-string.prototype.concat
|
||||
JS_DEFINE_NATIVE_FUNCTION(StringPrototype::concat)
|
||||
{
|
||||
auto string = ak_string_from(vm, global_object);
|
||||
|
Loading…
Reference in New Issue
Block a user