1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

LibJS: Add missing spec link on String.prototype.toWellFormed

Missed in commit 3ee5217adc.
This commit is contained in:
Timothy Flynn 2022-12-01 11:17:02 -05:00
parent 3ee5217adc
commit c21e9a415d

View file

@ -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).