mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
Notes:
sideshowbarker
2024-07-17 06:40:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/1a27c525d5 Pull-request: https://github.com/SerenityOS/serenity/pull/20451 Reviewed-by: https://github.com/trflynn89
@@ -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