mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibJS: Implement the GetMethod abstract operation
https://tc39.es/ecma262/#sec-getmethod We have bunch of duplicated on-demand versions of this, let's do it properly.
This commit is contained in:
parent
f0912027ff
commit
1b43a6ef2d
3 changed files with 22 additions and 0 deletions
|
@ -340,6 +340,7 @@ bool same_value(Value lhs, Value rhs);
|
|||
bool same_value_zero(Value lhs, Value rhs);
|
||||
bool same_value_non_numeric(Value lhs, Value rhs);
|
||||
TriState abstract_relation(GlobalObject&, bool left_first, Value lhs, Value rhs);
|
||||
Function* get_method(GlobalObject& global_object, Value, const PropertyName&);
|
||||
size_t length_of_array_like(GlobalObject&, const Object&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue