tyler-randomarray

1.0.0 • Public • Published

此方法实现了一个把数组随机排列的方法

使用方法

输入需要排列的数组

let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

引入randomArray模块

const randomArray = require('./randomArray')

打印结果

console log(randomArray(arr))

Readme

Keywords

none

Package Sidebar

Install

npm i tyler-randomarray

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

945 B

Total Files

4

Last publish

Collaborators

  • npm-tylerxuan