Ajax call all items

I had frappe.call from js to backend py to retrieve all the items,



then result of the console.log is

However i want every single item , not arraylist showing in the console.log

How can i get that ? Your help is much appreciated

You can flatten the array at client side using

var items = r.message;
items = items.map(i => i[0]);

Hi @netchampfaris,

Thank you very much. Your helped is highly appreciated.