mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibJS: Explicitly indicate infallible incovations
These are editorial changes in the Intl spec. See:6804096
6361167
8718171
fd37cb4
00fcfb0
913f832
This commit is contained in:
parent
278241859b
commit
7c41e6058a
Notes:
sideshowbarker
2024-07-17 16:29:42 +09:00
Author: https://github.com/trflynn89
Commit: 7c41e6058a
Pull-request: https://github.com/SerenityOS/serenity/pull/13315
Reviewed-by: https://github.com/linusg
11 changed files with 37 additions and 37 deletions
|
@ -69,7 +69,7 @@ JS_DEFINE_NATIVE_FUNCTION(Intl::get_canonical_locales)
|
|||
for (auto& locale : locale_list)
|
||||
marked_locale_list.append(js_string(vm, move(locale)));
|
||||
|
||||
// 2. Return CreateArrayFromList(ll).
|
||||
// 2. Return ! CreateArrayFromList(ll).
|
||||
return Array::create_from(global_object, marked_locale_list);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue