1
Fork 0
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:
Linus Groh 2021-10-03 19:52:13 +01:00
parent a7b1c7eb16
commit 0a49a2db60
4 changed files with 5 additions and 4 deletions

View file

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