mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibJS: Make Object::invoke() non-const
As suggested in #2431's code review.
This commit is contained in:
parent
1dd44210b7
commit
688ca7b196
2 changed files with 4 additions and 4 deletions
|
@ -108,7 +108,7 @@ public:
|
|||
IndexedProperties& indexed_properties() { return m_indexed_properties; }
|
||||
void set_indexed_property_elements(Vector<Value>&& values) { m_indexed_properties = IndexedProperties(move(values)); }
|
||||
|
||||
Value invoke(const FlyString& property_name, Optional<MarkedValueList> arguments = {}) const;
|
||||
Value invoke(const FlyString& property_name, Optional<MarkedValueList> arguments = {});
|
||||
|
||||
private:
|
||||
virtual Value get_by_index(u32 property_index) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue