javascript example icon

Home

Index

search icon
  • home icon
  • Packages>

  • chance>

  • prototype

How to use the prototype function from chance

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

bundled.js

GitHub: sudodoki/aleph-box

sudodoki profile picture
198
199
200
201
202
203
204
205
206
    }
}

// -- Basics --

Chance.prototype.bool = function (options) {

    // likelihood of success (true)
    options = initOptions(options, {likelihood : 50});
fork icon1
star icon2
watch icon3

+ 47 other calls in file

Other functions in chance

Sorted by popularity

function icon

chance.word is the most popular function in chance (344 examples)

Other popular packages:

Home

About

Privacy Policy

Example Javascript © 2024