// Defining Lodash variable const _ = require('lodash'); var val1 = [1, 2, 3, 4] var val2 = [1, 2, 3, 4] // Checking for Equal Value console.log("The Values are Equal : " +_.isEqual(val1,val2));