mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-10 17:12:41 +02:00
Previously, we would crash if `console.table()` was called with a proxy-wrapped array. This is because `Value::is_array()` returns true for proxy-wrapped arrays but `as_array()` simply casts to an Array object. We now treat these objects as array-like and access elements generically through the Object interface, which correctly dispatches through Proxy traps.