lodash 中的实现 import copyArray from './.internal/copyArray.js' function shuffle(array) { const length = array == null ? 0 : array.length if (!length)