mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
Revert "LibJS: Ensure keys vector capacity in…
Object::internal_own_property_keys"
This reverts commit 27ba216e3f
.
This commit is contained in:
parent
3f18331594
commit
8cd9275416
Notes:
github-actions[bot]
2025-05-16 05:34:13 +00:00
Author: https://github.com/tcl3
Commit: 8cd9275416
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4763
1 changed files with 0 additions and 1 deletions
|
@ -1112,7 +1112,6 @@ ThrowCompletionOr<Vector<PropertyKey>> Object::internal_own_property_keys() cons
|
|||
{
|
||||
// 1. Let keys be a new empty List.
|
||||
Vector<PropertyKey> keys;
|
||||
keys.ensure_capacity(m_indexed_properties.real_size() + shape().property_count());
|
||||
|
||||
// 2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
|
||||
for (auto const& entry : m_indexed_properties) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue