mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
@@ -28,7 +28,7 @@ void ModuleNamespaceObject::initialize(Realm& realm)
|
||||
Base::initialize(realm);
|
||||
|
||||
// 28.3.1 @@toStringTag, https://tc39.es/ecma262/#sec-@@tostringtag
|
||||
define_direct_property(vm.well_known_symbol_to_string_tag(), MUST(PrimitiveString::create(vm, "Module"sv)), 0);
|
||||
define_direct_property(vm.well_known_symbol_to_string_tag(), PrimitiveString::create(vm, "Module"_string), 0);
|
||||
}
|
||||
|
||||
// 10.4.6.1 [[GetPrototypeOf]] ( ), https://tc39.es/ecma262/#sec-module-namespace-exotic-objects-getprototypeof
|
||||
|
||||
Reference in New Issue
Block a user