# Rando.js - 쓰기 편한 랜덤 라이브러리

> Clean Markdown view of GeekNews topic #2607. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=2607](https://news.hada.io/topic?id=2607)
- GeekNews Markdown: [https://news.hada.io/topic/2607.md](https://news.hada.io/topic/2607.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-08-07T10:52:43+09:00
- Updated: 2020-08-07T10:52:43+09:00
- Original source: [randojs.com](https://randojs.com/)
- Points: 26
- Comments: 0

## Topic Body

rando() : 난수 생성

randoSequence() : 난수를 겹치지 않게 차례로 생성

rando

() : 0~1 float

(5) : 0~5 정수

(5,10) : 5~10 정수

(5,"float") : 0~5사이 float

(true, false) : 참/거짓

(["a", "b"]) : 배열중 하나

({a: 1, b: 2}) : 객체중 하나

($("div")) : 해당 jQuery객체중 하나

("gee willikers!") : 문자열중 한글자

randoSequence(5) : 0~5 까지의 정수를 랜덤 순서대로 겹치지 않게 [3, 0, 4, 1, 5, 2]

- 위 rando() 예제중 float 를 제외한 모든 방식에 적용 가능

## Comments



_No public comments on this page._
