Destructuring Arrays
๋ฐฐ์ญ ์ญ์ ๋ถํด๊ฐ ๊ฐ๋ฅํ๊ณ , ์ฌ๋ผ์ด์ค๋ฅผ ์ ์ฉํ ์ ์์ต๋๋ค.
You can destructure arrays, tuples, and slices by matching on their elements:
๋ฐฐ์ญ ์ญ์ ๋ถํด๊ฐ ๊ฐ๋ฅํ๊ณ , ์ฌ๋ผ์ด์ค๋ฅผ ์ ์ฉํ ์ ์์ต๋๋ค.
You can destructure arrays, tuples, and slices by matching on their elements: