This is an automated email from the ASF dual-hosted git repository.
andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 27cbf3c Update nullish-coalescing-operator.md updated version this
first appears in
27cbf3c is described below
commit 27cbf3ccd8ebd143cfcfe76d44de94b91dde0434
Author: Andrew Wetmore <[email protected]>
AuthorDate: Mon Apr 6 13:23:32 2026 -0300
Update nullish-coalescing-operator.md updated version this first appears in
1.0.0
---
features/as3/nullish-coalescing-operator.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/features/as3/nullish-coalescing-operator.md
b/features/as3/nullish-coalescing-operator.md
index 2cf0b94..dec3c1b 100644
--- a/features/as3/nullish-coalescing-operator.md
+++ b/features/as3/nullish-coalescing-operator.md
@@ -24,12 +24,10 @@ permalink: /features/as3/nullish-coalescing-operator
The ?? operator
-[Apache Royale](https://royale.apache.org/){:target='\_blank'} adds support
for the _nullish coalescing operator_ in [ActionScript](features/as3), which
uses the symbol `??`. The `??` operator accepts two operands, one each on its
left and right sides. Which operand is returned depends on whether the left
operand is _nullish_ or not.
+Starting in **version 1.0.0**, [Apache
Royale](https://royale.apache.org/){:target='_blank'} adds support for the
_nullish coalescing operator_ in [ActionScript](features/as3), which uses the
symbol `??`. The `??` operator accepts two operands, one each on its left and
right sides. Which operand is returned depends on whether the left operand is
_nullish_ or not.
Nullish values include `null` and `undefined` only. If the left operand is not
nullish, then it is returned immediately, without executing the right operand.
If the left operand is nullish, then the right operand is returned instead.
-_Requires Apache Royale 0.9.10 or newer._
-
## Code example
Consider the following code that uses the `??` operator to provide a non-null
value if the left operand is nullish.