1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibJS: Rename Reference methods to match the spec

- get -> get_value (GetValue in the spec)
- put -> put_value (PutValue in the spec)

Also add spec links. :^)
This commit is contained in:
Andreas Kling 2021-06-25 17:19:01 +02:00
parent bce7fdba81
commit 7b28fa99ba
3 changed files with 13 additions and 11 deletions

View file

@ -97,8 +97,8 @@ public:
return !m_this_value.is_empty();
}
void put(GlobalObject&, Value);
Value get(GlobalObject&, bool throw_if_undefined = true);
void put_value(GlobalObject&, Value);
Value get_value(GlobalObject&, bool throw_if_undefined = true);
bool delete_(GlobalObject&);
String to_string() const;