How to use the js function from chance

Find comprehensive JavaScript chance.js code examples handpicked from public code repositorys.

206
207
208
209
210
211
212
213
214
215
  "pattern": "yes|no|maybe|i don't know"
}
```
([demo »](http://json-schema-faker.js.org/#gist/8ee282679da5a31cd7edc4cf35f37081))

### Advanced usage of faker.js and Chance.js

In following inline code examples the `faker` and `chance` variables are assumed to be created with, respectively:

```javascript
fork icon321
star icon0
watch icon4