mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 09:35:15 +00:00
This assumption only works for the m_packed_elements Vector where a missing value at a certain index still returns an empty value, but not for the m_sparse_elements HashMap, which is being used for indices >= 200 - in that case the Optional<ValueAndAttributes> result will not have a value. This fixes a crash in the js REPL where printing an array with a hole at any index >= 200 would crash.