diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-26 08:10:58 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-27 21:16:44 +0000 |
commit | 90e68bca6a6b416ae26ce7d0ca95dd7b1fcac73a (patch) | |
tree | 58d3fe6f6cf9712e7c7048eb31fdb67c8abdc806 | |
parent | f8892fdea21208f0c1dfcf96a497d7c13e3bba35 (diff) | |
download | serenity-90e68bca6a6b416ae26ce7d0ca95dd7b1fcac73a.zip |
LibJS: Add missing spec link for InitializeRelativeTimeFormat
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Intl/RelativeTimeFormat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/RelativeTimeFormat.cpp b/Userland/Libraries/LibJS/Runtime/Intl/RelativeTimeFormat.cpp index 26f3a9a2a0..9866765b70 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/RelativeTimeFormat.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/RelativeTimeFormat.cpp @@ -49,6 +49,7 @@ StringView RelativeTimeFormat::numeric_string() const } } +// 17.1.1 InitializeRelativeTimeFormat ( relativeTimeFormat, locales, options ), https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat ThrowCompletionOr<RelativeTimeFormat*> initialize_relative_time_format(GlobalObject& global_object, RelativeTimeFormat& relative_time_format, Value locales_value, Value options_value) { auto& vm = global_object.vm(); |