mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibJS: Remove outdated FIXME from String.prototype.localeCompare
This FIXME was addressed in 0975eba724
.
This commit is contained in:
parent
45d73f8ef9
commit
f3f3e3cdc3
1 changed files with 0 additions and 1 deletions
|
@ -1037,7 +1037,6 @@ JS_DEFINE_NATIVE_FUNCTION(StringPrototype::sup)
|
||||||
// 19.1.1 String.prototype.localeCompare ( that [ , locales [ , options ] ] ), https://tc39.es/ecma402/#sup-String.prototype.localeCompare
|
// 19.1.1 String.prototype.localeCompare ( that [ , locales [ , options ] ] ), https://tc39.es/ecma402/#sup-String.prototype.localeCompare
|
||||||
JS_DEFINE_NATIVE_FUNCTION(StringPrototype::locale_compare)
|
JS_DEFINE_NATIVE_FUNCTION(StringPrototype::locale_compare)
|
||||||
{
|
{
|
||||||
// FIXME: This can throw (spec issue)
|
|
||||||
// 1. Let O be ? RequireObjectCoercible(this value).
|
// 1. Let O be ? RequireObjectCoercible(this value).
|
||||||
auto object = TRY(require_object_coercible(global_object, vm.this_value(global_object)));
|
auto object = TRY(require_object_coercible(global_object, vm.this_value(global_object)));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue