LibJS: Remove a bunch of gratuitous JS namespace qualifiers

This commit is contained in:
Linus Groh 2022-04-03 15:19:33 +01:00
commit 5b48912d35
Notes: sideshowbarker 2024-07-17 14:33:00 +09:00
17 changed files with 66 additions and 65 deletions

View file

@ -109,7 +109,7 @@ ThrowCompletionOr<Value> perform_shadow_realm_eval(GlobalObject& global_object,
// b. If script is a List of errors, throw a SyntaxError exception.
if (parser.has_errors()) {
auto& error = parser.errors()[0];
return vm.throw_completion<JS::SyntaxError>(global_object, error.to_string());
return vm.throw_completion<SyntaxError>(global_object, error.to_string());
}
// c. If script Contains ScriptBody is false, return undefined.