Output array

Hi all,
i am new to mobile programming and ionic. Is there anyway to check the content and structure of any array for debugging purpose? thanks

regards
Wong

console.log(myArray);