//From these two arrays i have to get matched result & unmached result
var array1 = ["2017-07-23_30-12-98","2016-06-23_13-12-23","2017-05-20_30-12-43","2015-02-23_30-12-98"];
var array2 = ["2017-07-23_30-12-98","2014-06-23_13-12-94","2015-05-20_30-12-98","2015-02-23_30-12-98"];
result
MatchedRes = ["2017-07-23_30-12-98","2015-02-23_30-12-98"];
UnMatchedRes = ["2016-06-23_13-12-23","2017-05-20_30-12-43"];
Thanks
Sreeram