UNPKG

@rahmatsaeedi/lotide

Version:

A light-weight, simplified, & minified version of Lodash library

12 lines (10 loc) 376 B
// jshint esversion : 6 const eqArrays = require('../eqArrays'); const eqArraysLogger = function(array1, array2) { if (eqArrays(array1, array2)) { console.log(`✅ Assertion Passed: ${array1} === ${array2}`); } else { console.log(`🛑 Assertion Failed: values or types don't match, ${array1} !== ${array2}`); } }; module.exports = eqArraysLogger;