summaryrefslogtreecommitdiff
path: root/doc/classes/Array.xml
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2020-05-17 20:30:42 +0200
committerGitHub <noreply@github.com>2020-05-17 20:30:42 +0200
commitea8d9c52884e7702c2b776cb1ddb6be1c1e8f8b5 (patch)
tree8102cc6b1bcfb5d24c927660e31e0f743148a1d9 /doc/classes/Array.xml
parent4c8832701b291b8f7bc64e22d93972f6bc968a24 (diff)
parent675fea16489048919a059d10c4ae846cc7fe4ba7 (diff)
Merge pull request #38795 from Calinou/doc-array-dictionary-reference
Document that Dictionary is always passed as reference
Diffstat (limited to 'doc/classes/Array.xml')
-rw-r--r--doc/classes/Array.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index 20296bbf45..7593f7dff4 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -20,7 +20,7 @@
var array2 = [3, "Four"]
print(array1 + array2) # ["One", 2, 3, "Four"]
[/codeblock]
- Arrays are always passed by reference.
+ [b]Note:[/b] Arrays are always passed by reference. To get a copy of an array which can be modified independently of the original array, use [method duplicate].
</description>
<tutorials>
</tutorials>