import { generateRandomNumber } from './generateRandomNumber' ; function generateRandomArrayElement < T > ( arr ) { return arr [ generateRandomNumber ( 0 , arr . length ) ] ; } export { generateRandomArrayElement } ;