mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibJS: Convert internal_is_extensible() to ThrowCompletionOr
This commit is contained in:
parent
8c81c84c18
commit
9b4362f10a
9 changed files with 18 additions and 22 deletions
|
@ -248,7 +248,7 @@ JS_DEFINE_NATIVE_FUNCTION(ReflectObject::is_extensible)
|
|||
}
|
||||
|
||||
// 2. Return ? target.[[IsExtensible]]().
|
||||
return Value(target.as_object().internal_is_extensible());
|
||||
return Value(TRY_OR_DISCARD(target.as_object().internal_is_extensible()));
|
||||
}
|
||||
|
||||
// 28.1.10 Reflect.ownKeys ( target ), https://tc39.es/ecma262/#sec-reflect.ownkeys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue