/* * Copyright (c) 2021, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include namespace JS { AggregateError* AggregateError::create(Realm& realm) { return realm.heap().allocate(realm, *realm.global_object().aggregate_error_prototype()); } AggregateError::AggregateError(Object& prototype) : Error(prototype) { } }