math-made-easy-swxft

1.0.1 • Public • Published

make JS's Math library more readable

  • unlock some functions that make programmers' lives way easier

##randomChoice()

takes in an array and returns a random member of the iterable ex: randomchoice(['red', 'blue', 'green']) output: 'green'

##minAndMax()

takes in an array and returns a the smallest and largest number ex: randomchoice(['red', 'blue', 'green']) output: 'green'

Readme

Keywords

none

Package Sidebar

Install

npm i math-made-easy-swxft

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

5.18 kB

Total Files

8

Last publish

Collaborators

  • swxft