mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
By using the same NativeFunction constructor as plain ErrorConstructor and passing the name, TypeError & co. will now include their name in backtraces and such. Eventually we should probably rely on [[InitialName]] for this, but for now that's how it works.
9.3 KiB
9.3 KiB