summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-12-01 11:17:02 -0500
committerTimothy Flynn <trflynn89@pm.me>2022-12-01 11:17:02 -0500
commitc21e9a415de17d97584ba4803ade6a9e077eb65b (patch)
treeab5cc70e4c2ab5f3aec158bf53ae63040ab73470 /Userland/Libraries/LibJS
parent3ee5217adc32ed438215bc0f6938396318024b24 (diff)
downloadserenity-c21e9a415de17d97584ba4803ade6a9e077eb65b.zip
LibJS: Add missing spec link on String.prototype.toWellFormed
Missed in commit 3ee5217adc32ed438215bc0f6938396318024b24.
Diffstat (limited to 'Userland/Libraries/LibJS')
-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 e4bc3f0f44..6d540def5b 100644
--- a/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp
+++ b/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp
@@ -981,7 +981,7 @@ JS_DEFINE_NATIVE_FUNCTION(StringPrototype::to_uppercase)
return js_string(vm, move(uppercase));
}
-// 22.1.3.11 String.prototype.toWellFormed ( )
+// 22.1.3.11 String.prototype.toWellFormed ( ), https://tc39.es/proposal-is-usv-string/#sec-string.prototype.towellformed
JS_DEFINE_NATIVE_FUNCTION(StringPrototype::to_well_formed)
{
// 1. Let O be ? RequireObjectCoercible(this value).