mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
Storage keys are strings, even when they look numeric. Advertising support for indexed properties caused numeric keys (e.g. "0") to be exposed twice during enumeration: once via indexed property enumeration and once via named properties. Disable indexed property support while keeping the indexed setter enabled, so assignments like storage[42] = "x" still work by coercing the index to a string key, without introducing a separate indexed property space.