mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
We can't assume that property names can be converted to strings anymore,
as we have symbols. Use name.to_value() instead.
This makes something like this possible:
new Proxy(Object, { get(t, p) { return t[p] } })[Symbol.hasInstance]
21 KiB
21 KiB