mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:57:42 +00:00
LibJS+LibWeb: Add missing JS_DEFINE_ALLOCATOR() for a bunch of classes
This commit is contained in:
parent
11c968fa1f
commit
f4fa37afd2
15 changed files with 25 additions and 3 deletions
|
@ -14,6 +14,8 @@
|
|||
|
||||
namespace JS::Temporal {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(DurationConstructor);
|
||||
|
||||
// 7.1 The Temporal.Duration Constructor, https://tc39.es/proposal-temporal/#sec-temporal-duration-constructor
|
||||
DurationConstructor::DurationConstructor(Realm& realm)
|
||||
: NativeFunction(realm.vm().names.Duration.as_string(), realm.intrinsics().function_prototype())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue