I am accessing array which is in loop through:
var author = $$('.author').map(e=>e.textContent);
I want this to remove duplicate from array from authors list and fetch count and display on the front end. Does anyone know how to achieve this?
I am accessing array which is in loop through:
var author = $$('.author').map(e=>e.textContent);
I want this to remove duplicate from array from authors list and fetch count and display on the front end. Does anyone know how to achieve this?