Files
ladybird/Libraries/LibJS/Runtime/ObjectConstructor.cpp
Linus Groh b958e4f573 LibJS: Disallow changing the prototype of non-extensible objects
Object::set_prototype() now returns a boolean indicating success.
Setting the prototype to an identical object is always considered
successful, even if the object is non-extensible.
2020-06-02 13:51:02 +02:00

7.6 KiB