---
title: shuffle - 打乱数组
nav:
  title: 使用文档
  path: /lib
group:
  path: /math
  title: 数学计算
  order: 12
---

## shuffle

> 数组乱序, 洗牌

Demo:

```tsx | pure
import { shuffle } from 'xijs';

shuffle([1, 3, 5, 7, 4, 3]); // -> [3,1,5,7,3,4]
```
