JavaScript:实现BogoSort排序算法 export function isSorted (array) { const length = array.length for (let i = 0; i < leng