summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-07-05 13:17:03 -0400
committerLinus Groh <mail@linusgroh.de>2021-07-05 23:26:41 +0100
commit4985d3ef42d3a280f2d525612da9a715bedf3804 (patch)
tree2a21cf712a5827e23f0d0ecdfb8f456e5b382710 /Userland
parentb583726deb1a1a52e6752227223bff0b94c8c405 (diff)
downloadserenity-4985d3ef42d3a280f2d525612da9a715bedf3804.zip
LibJS: Fix linked specification of String.prototype.concat
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibJS/Runtime/StringPrototype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp b/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp
index 0d48b7c3c3..a7a3510400 100644
--- a/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp
+++ b/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp
@@ -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);