UNPKG

vrandom

Version:

an easy way to work with random numbers in javascript

13 lines (9 loc) 283 B
const pickFromStr = require('./pickFromStr.js') /** * @returns {string} a random character from the string */ const lowercaseLetter = () => { const lowerAlphabet = 'abcdefghijklmnopqrstuvwxyz' return pickFromStr(lowerAlphabet) } module.exports = lowercaseLetter