mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 14:47:35 +00:00
LibJS: Convert set_immutable_prototype() to ThrowCompletionOr
This commit is contained in:
parent
a7b1c7eb16
commit
0a49a2db60
4 changed files with 5 additions and 4 deletions
|
@ -108,7 +108,7 @@ public:
|
|||
|
||||
// 10.4.7 Immutable Prototype Exotic Objects, https://tc39.es/ecma262/#sec-immutable-prototype-exotic-objects
|
||||
|
||||
bool set_immutable_prototype(Object* prototype);
|
||||
ThrowCompletionOr<bool> set_immutable_prototype(Object* prototype);
|
||||
|
||||
// 20.1 Object Objects, https://tc39.es/ecma262/#sec-object-objects
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue