How to use the student function from chance

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

19
20
21
22
23
24
25
26
27
28
* 
* Note the `options = {}` inside each of the function arguments. Those are called "overrides".
* Consider the student generator. It returns an object containing a random id, name, and email.
* So a sample returned object when calling:
* 
* random.student();
* 
* might look like:
* 
* { id: '76638115', name: 'Derek', email: 'lubmo@ninrezgec.vi' }
fork icon4
star icon3
watch icon0