Files
ladybird/Userland/Libraries/LibJS/Runtime/ReflectObject.cpp
Idan Horowitz 8eb48039c9 LibJS: Bring Reflect.construct() closer to the specification
This includes checking that the target is a constructor, not just a
function, as well as switching the order of the list creation and
argument validation to match the specification, to ensure correct
exception throwing order.
2021-06-28 14:22:35 +01:00

8.9 KiB