How to use the capitalize function from chance

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

14
15
16
17
18
19
20
21
22
23
}
exports.pick = exports.random
exports.firstName = function () { return ch.first() }
exports.lastName = function () { return ch.last() }
exports.gender = function () { return ch.gender() }
exports.company = function () { return ch.capitalize(ch.word({syllables: 3})) }
exports.email = function () { return ch.email() }
exports.phone = function () { return ch.phone() }
exports.address = function () { return ch.address() }
exports.street = function () { return ch.street() }
fork icon0
star icon2
watch icon1

+ 3 other calls in file