Lab Assignment 02 Develop a basic JavaScript library similar to Lodash that provides functions to manipulate arrays and objects.
Usage
**
Install it:
**
npm install @mattchabbt/CMPT315-Lab2
**
Require it:
**
const _ = require('@mattchatbbt/CMPT315-Lab2');
**
Call it:
**
const results = _.firstFunction()
Documentation
The following functions are currently implemented:
*
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.