mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
LibJS: Convert has_restricted_global_property() to ThrowCompletionOr
This commit is contained in:
parent
9571631b58
commit
1817c1f83c
3 changed files with 6 additions and 5 deletions
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
bool has_var_declaration(FlyString const& name) const;
|
||||
bool has_lexical_declaration(FlyString const& name) const;
|
||||
bool has_restricted_global_property(FlyString const& name) const;
|
||||
ThrowCompletionOr<bool> has_restricted_global_property(FlyString const& name) const;
|
||||
bool can_declare_global_var(FlyString const& name) const;
|
||||
bool can_declare_global_function(FlyString const& name) const;
|
||||
void create_global_var_binding(FlyString const& name, bool can_be_deleted);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue