mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:18:11 +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
|
@ -791,7 +791,7 @@ public:
|
|||
}
|
||||
if (interface.extended_attributes.contains("CustomGetByIndex")) {
|
||||
generator.append(R"~~~(
|
||||
virtual JS::Value get_by_index(u32 property_index) const override;
|
||||
virtual JS::Value get_by_index(u32 property_index, bool without_side_effects = false) const override;
|
||||
)~~~");
|
||||
}
|
||||
if (interface.extended_attributes.contains("CustomPut")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue