Document that Dictionary is always passed as reference

See #38792.
This commit is contained in:
Hugo Locurcio 2020-05-16 23:52:40 +02:00
parent 163687d17a
commit 675fea1648
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
2 changed files with 2 additions and 1 deletions

View file

@ -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>