@andrewbartko/lab-2-assignment

1.0.1 • Public • Published

#Andrew Bartko Lab-2-Assignment Lab 2 Assignment featuring 3 array functions and 2 object functions ##Purpose **Beware: This library is for learning ##Usage Install it: 'npm install @andrewbartko/lab-2-assignment Require it : 'const _ = require('@andrewbartko/lab-2-assignment');'

Call it:

'const results = _.findNaNIndex()'

##Documentation ##Array functions *findNaNIndex(): Find all the indexes where NaN is found in a given array of numbers and NaN. *isArrayFactorChain(): Return true or false if an array is a factor chain or not. *countNumberOfArrays: Return the count for the number of arrays inside a given array. ##Object Functions

  • participants(): Returns an array of all the player names (no player should be listed more than once).
  • winnersObject(): Returns an object which lists each participant, and a list of who they've beaten.

Readme

Keywords

Package Sidebar

Install

npm i @andrewbartko/lab-2-assignment

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

10.5 kB

Total Files

10

Last publish

Collaborators

  • andrewbartko