SHARE
TWEET

Random Stuff

a guest Jul 17th, 2014 257 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         var allStudents = [];
  2.         for (var i = 0; i < 20; i++) {
  3.             allStudents.push(new Student({
  4.                 name: chance.first(),
  5.                 age: chance.integer({min: 16, max: 92})
  6.             }));
  7.         }
  8.         console.log(allStudents);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top