mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibJS: Implement nullish coalescing operator (??)
This commit is contained in:
parent
1806592d58
commit
d14ddb6461
Notes:
sideshowbarker
2024-07-19 07:31:09 +09:00
Author: https://github.com/linusg
Commit: d14ddb6461
Pull-request: https://github.com/SerenityOS/serenity/pull/1832
Reviewed-by: https://github.com/awesomekling
4 changed files with 60 additions and 12 deletions
|
@ -367,6 +367,7 @@ private:
|
|||
enum class LogicalOp {
|
||||
And,
|
||||
Or,
|
||||
NullishCoalescing,
|
||||
};
|
||||
|
||||
class LogicalExpression : public Expression {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue