aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-02-02 12:00:33 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-10 12:48:55 +0000
commit13d6adac3812b8c1fd78b9833f0fe5b1346d0427 (patch)
treeefe0958f4e251990307f9886b1b41566f523dd12
parentf5aa625e71569fd5ed155ad1db5467d39e4d01f9 (diff)
Host environment doc: Improve chances to find ?. and ??
Change-Id: If00363ef80d38c1fc61aadc0f77dba90867d2768 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> (cherry picked from commit e6e19d50a38806c8c1932c8b48a77ff0ba574db0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/doc/src/javascript/hostenvironment.qdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/doc/src/javascript/hostenvironment.qdoc b/src/qml/doc/src/javascript/hostenvironment.qdoc
index d25a67d5e1..15f7c6384c 100644
--- a/src/qml/doc/src/javascript/hostenvironment.qdoc
+++ b/src/qml/doc/src/javascript/hostenvironment.qdoc
@@ -18,7 +18,8 @@ Like a browser or server-side JavaScript environment, the QML runtime implements
all of the built-in types and functions defined by the standard, such as Object, Array, and Math.
The QML runtime implements the 7th edition of the standard.
-\l{Nullish Coalescing} (since Qt 5.15) and \l{Optional Chaining} (since Qt 6.2) are also implemented in the QML runtime.
+\l{Nullish Coalescing} (\c{??}) (since Qt 5.15) and \l{Optional Chaining} (\c{?.}) (since Qt 6.2)
+are also implemented in the QML runtime.
The standard ECMAScript built-ins are not explicitly documented in the QML documentation. For more
information on their use, please refer to the ECMA-262 7th edition standard or one of the many online