Javascript/etc
[ Javascript ] - random 값 얻기
algml0703
2022. 5. 17. 06:56
반응형
export async function getRandomNumber(max: number){
return Math.floor(Math.random() * max)
}
반응형