Current collected state Current
Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
315 assignment 2
Creating functions in javascript
**BEWARE: This library was published for learning purposes. It is not in Describe the intended intent
Install it:
npm install @ormle/315a2
Require it:
const _ = require('ormle/315a2'); Call it:
The following functions are currently implemented:
findNaNIndex(array): Finds all the indexes where NaN is found inany given array of numbers and NaNisArrayFactorChain(array): Returns true of false if an array is a factor chain or notcountNumberOfArrays(array): Returns the count for the number of arrays inside a given arrayparticipants(matches) : Returns an array of all the player names. No player is listed more than oncewinnersObject(matches) : Returns an object which lists each participant, and a list of who they've beatenbiggestLoser(matches) : Returns the loser name with the biggest tally of loser_points. If a player is the winner, the loser_points are substracted, and if a player is a loser, then the loser_points are added.Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0Registry latest | 25 Jan 2024 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eb7e908db7eb322c635ae9d390b8bc7ecdb68a14144040ea087899dfea9445e2