1. For loop. The most straightforward — and one might say naive approach — is to utilise a for loop . · 2. reverse() Method for Arrays · 3. Spread Syntax (ES6) + ...
確定! 回上一頁