Skip to content

Instantly share code, notes, and snippets.

@srs
Created October 19, 2016 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srs/05d22636e57d5d75f14735046213986a to your computer and use it in GitHub Desktop.
Save srs/05d22636e57d5d75f14735046213986a to your computer and use it in GitHub Desktop.
PurpleJS Blog - Snippet 10
router.get('/random', function(req) {
return {
body: getRandom(10)
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment