Arrrrray / junchao-utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jcts-utils

TypeScript 函数库、工具类

Docs

查看文档

Installing

npm i jcts-utils

Using

import { getRandomList } from "jcts-utils";

const list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const newList = getRandomList(list);
console.log(newList); // 随机数组,此处只展示一种情况:[8, 2, 9,  4, 1, 6, 7, 5, 10, 3]

License

ISC © 2023, gaojunchao

About


Languages

Language:TypeScript 100.0%