@nknahom/lotide
Version:
Lotide is mini clone of the Lodash (https://lodash.com) library for learning JavaScript. What is Lodash? Lodash is a library that makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.
12 lines (9 loc) • 330 B
JavaScript
const eqArrays = require("./eqArrays");
const assertArraysEqual = function (array1, array2) {
if (eqArrays(array1, array2)) {
console.log(`\u2705 Assertion Passed: [${array1}] === [${array2}]`);
} else {
console.log(`\u26D4 Assertion Failed: [${array1}] !== [${array2}]`);
}
};
module.exports = assertArraysEqual;