I have two arrays:
a1 = ['<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f480918780c5b49399959d98da979b99">[email protected]</a>','<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="493d2c3a3d7b092e24282025672a2624">[email protected]</a>','<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b5c1d0c6c186f5d2d8d4dcd99bd6dad8">[email protected]</a>'];
a2 = [{email: '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ed99889e99dcad8a808c84881c38e8280">[email protected]</a>'},{email: '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="750110060147351218141c195b161a18">[email protected]</a>'}];
I would like to find the difference between the two arrays, resulting in:
resultDifference = ['<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="37435244430477505a565e5b1954585a">[email protected]</a>'];
To achieve this using only lodash, how can I proceed?