mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS: Explicitly indicate infallible incovations
These are editorial changes in the Intl spec. See: https://github.com/tc39/ecma402/commit/6804096 https://github.com/tc39/ecma402/commit/6361167 https://github.com/tc39/ecma402/commit/8718171 https://github.com/tc39/ecma402/commit/fd37cb4 https://github.com/tc39/ecma402/commit/00fcfb0 https://github.com/tc39/ecma402/commit/913f832
This commit is contained in:
committed by
Linus Groh
parent
278241859b
commit
7c41e6058a
Notes:
sideshowbarker
2024-07-17 16:29:42 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/7c41e6058a Pull-request: https://github.com/SerenityOS/serenity/pull/13315 Reviewed-by: https://github.com/linusg
@@ -46,7 +46,7 @@ ThrowCompletionOr<Value> DateTimeFormatFunction::call()
|
||||
|
||||
// 3. If date is not provided or is undefined, then
|
||||
if (date.is_undefined()) {
|
||||
// a. Let x be Call(%Date.now%, undefined).
|
||||
// a. Let x be ! Call(%Date.now%, undefined).
|
||||
date = MUST(JS::call(global_object, global_object.date_constructor_now_function(), js_undefined()));
|
||||
}
|
||||
// 4. Else,
|
||||
|
||||
Reference in New Issue
Block a user