diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp b/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp index ca5a20d5eb..96fa5046b4 100644 --- a/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp @@ -48,7 +48,7 @@ Value SymbolConstructor::call() } // 20.4.1.1 Symbol ( [ description ] ), https://tc39.es/ecma262/#sec-symbol-description -Value SymbolConstructor::construct(Function&) +Value SymbolConstructor::construct(FunctionObject&) { vm().throw_exception<TypeError>(global_object(), ErrorType::NotAConstructor, "Symbol"); return {}; |