mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Document that Dictionary is always passed as reference
See #38792.
(cherry picked from commit 675fea1648)
This commit is contained in:
committed by
Rémi Verschelde
parent
4779d289d5
commit
8ebcdeb3d7
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user