Define array index after function call

前端 未结 2 978
独厮守ぢ
独厮守ぢ 2020-12-06 18:15

In other languages such as C# and JavaScript, I am able to access the index of an array with a function call such as

getMyArray()[0] 

This

2条回答
提交回复
热议问题