add simulation module
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
export const getMean = (data: number[]) =>
|
||||
Math.round(100 * (sumElements(data) / data.length)) / 100
|
||||
|
||||
export const clone = (data: any) => JSON.parse(JSON.stringify(data))
|
||||
|
||||
export const shuffleArray = <T>(array: T[]) => {
|
||||
|
||||
Reference in New Issue
Block a user