Add null coalescing operator.

This commit is contained in:
Stephen Chung
2022-06-10 11:22:33 +08:00
parent 0f1e51b1c9
commit 8999872d62
7 changed files with 87 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ Bug fixes
Reserved Symbols
----------------
* `?`, `?.` and `!.` are now reserved symbols.
* `?`, `??`, `?.` and `!.` are now reserved symbols.
Deprecated API's
----------------
@@ -30,6 +30,7 @@ New features
------------
* The _Elvis operator_ (`?.`) is now supported for property access and method calls.
* The _null-coalescing operator_ (`??`) is now supported to short-circuit `()` values.
Enhancements
------------