Use the first one. Second one is used when key contains space, dot or something. For example, if key is "sho vels", you have to access it like this player.tools["shov els"]
First.
thx
theyre the same thing, use dot syntax
or if key is variable
not really, like for the cases where "shovels" should be dynamic
Обсуждают сегодня