mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
LibJS: Respect Object::get's without_side_effects parameter for numbers
This commit is contained in:
parent
317b88a8c3
commit
6352a33ed2
5 changed files with 10 additions and 10 deletions
|
@ -163,7 +163,7 @@ protected:
|
|||
explicit Object(GlobalObjectTag);
|
||||
Object(ConstructWithoutPrototypeTag, GlobalObject&);
|
||||
|
||||
virtual Value get_by_index(u32 property_index) const;
|
||||
virtual Value get_by_index(u32 property_index, bool without_side_effects = false) const;
|
||||
virtual bool put_by_index(u32 property_index, Value);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue