How to use the prototype function from chance
Find comprehensive JavaScript chance.prototype code examples handpicked from public code repositorys.
GitHub: sudodoki/aleph-box
198 199 200 201 202 203 204 205 206
} } // -- Basics -- Chance.prototype.bool = function (options) { // likelihood of success (true) options = initOptions(options, {likelihood : 50});
1
2
3
+ 47 other calls in file
chance.word is the most popular function in chance (344 examples)