mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Add a Completion(ThrowCompletionOr<Value> const&) constructor
This commit is contained in:
parent
01c2570678
commit
68ac13a192
Notes:
sideshowbarker
2024-07-18 01:10:00 +09:00
Author: https://github.com/linusg
Commit: 68ac13a192
Pull-request: https://github.com/SerenityOS/serenity/pull/10913
Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 14 additions and 0 deletions
|
@ -46,6 +46,8 @@ public:
|
|||
VERIFY(!m_value->is_empty());
|
||||
}
|
||||
|
||||
Completion(ThrowCompletionOr<Value> const&);
|
||||
|
||||
// 5.2.3.1 Implicit Completion Values, https://tc39.es/ecma262/#sec-implicit-completion-values
|
||||
// Not `explicit` on purpose.
|
||||
Completion(Value value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue