Here's a simpler and more concise shuffle method, which I've based on a solution to a task I found on this JavaScript tutorial website:
確定! 回上一頁