mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
When building an object from an object expression, we don't want to go through the full property setting machinery. This patch adds a new PropertyKind::DirectKeyValue for PutById which guarantees that the property becomes an own property. This fixes an issue where setting the "__proto__" property in object expressions wasn't working right. 12 new passes on test262. :^)
135 KiB
135 KiB