Skip to content

sudocode1/randomer.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randomer.js

select a random thing in an array

    const randomer = require("randomer.js");

    var test = [
        "hello",
        "hi",
        "other stuff"
    ]

    console.log(randomer.array(test))

random number

select a random number from 0 to the number selected

    const randomer = require("randomer.js");

    console.log(randomer.number(100))

About

Select random value from an Array without the fuss.

Resources

License

Stars

Watchers

Forks

Packages

No packages published