From c21e9a415de17d97584ba4803ade6a9e077eb65b Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 1 Dec 2022 11:17:02 -0500 Subject: [PATCH] LibJS: Add missing spec link on String.prototype.toWellFormed Missed in commit 3ee5217adc32ed438215bc0f6938396318024b24. --- Userland/Libraries/LibJS/Runtime/StringPrototype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).