mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
LibJS: Make IsHTMLDDA non-constructible
This commit is contained in:
parent
78bc84c2d8
commit
f53aa5bfbb
2 changed files with 0 additions and 10 deletions
|
@ -29,12 +29,4 @@ ThrowCompletionOr<Value> IsHTMLDDA::call()
|
|||
return js_undefined();
|
||||
}
|
||||
|
||||
ThrowCompletionOr<Object*> IsHTMLDDA::construct(FunctionObject&)
|
||||
{
|
||||
// Not sure if we need to support construction, but ¯\_(ツ)_/¯
|
||||
auto& vm = this->vm();
|
||||
auto& global_object = this->global_object();
|
||||
return vm.throw_completion<TypeError>(global_object, ErrorType::NotAConstructor, "IsHTMLDDA");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue