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

LibJS: Format IndexedProperties.cpp

This commit is contained in:
AnotherTest 2020-09-08 13:26:54 +04:30 committed by Andreas Kling
parent 0c2d36d1cd
commit 9a00699983

View file

@ -318,7 +318,7 @@ void IndexedProperties::insert(u32 index, Value value, PropertyAttributes attrib
m_storage->insert(index, value, attributes); m_storage->insert(index, value, attributes);
} }
ValueAndAttributes IndexedProperties::take_first(Object *this_object) ValueAndAttributes IndexedProperties::take_first(Object* this_object)
{ {
auto first = m_storage->take_first(); auto first = m_storage->take_first();
if (first.value.is_accessor()) if (first.value.is_accessor())
@ -326,7 +326,7 @@ ValueAndAttributes IndexedProperties::take_first(Object *this_object)
return first; return first;
} }
ValueAndAttributes IndexedProperties::take_last(Object *this_object) ValueAndAttributes IndexedProperties::take_last(Object* this_object)
{ {
auto last = m_storage->take_last(); auto last = m_storage->take_last();
if (last.value.is_accessor()) if (last.value.is_accessor())