Files
ladybird/Userland/Libraries/LibJS/Tests/classes/class-advanced-extends.js
Linus Groh 766f30f593 LibJS: Check if class extends value has a valid prototype
If we have a function as class extends value, we still cannot assume
that it has a prototype property and that property has a function or
null as its value - blindly calling to_object() on it may fail.

Fixes #5075.
2021-01-24 00:09:18 +01:00

1.2 KiB