Let's say I have a method that returns an array. Example below:
As you can see, a very simple example. So now, in my code outside my method I want to be able to access let's say item number 3 from the method call and the key called awesomeLevel from the structure call. Then I can do this:
item3 = getArray();
MyAwesomeLevel = getStruct()['awesomeLevel'];
How cool is that, finally!! Array syntax from method calls.