함수는 return 문을 통해 함수값을 돌려줄 수 있다. list나 object를 포함한 어떤 type도 돌려질 수 있다.
여러값을 돌려줄 수는 없다. 그러나 list를 돌려줌으로써 비슷한 일을 할 수 있다. :
To return a reference from a function, you have to use the reference operator & in both the function declaration and when assigning the returned value to a variable: