lodash equal array check

Solutions on MaxInterview for lodash equal array check by the best coders in the world

showing results for - "lodash equal array check"
Ida
08 Sep 2017
1// Defining Lodash variable 
2const _ = require('lodash'); 
3  
4var val1 = [1, 2, 3, 5]
5  
6var val2 = [1, 2, 3, 4]
7  
8// Checking for Equal Value 
9console.log("The Values are Equal : "
10        +_.isEqual(val1,val2));
11