Remember to open the console (Press F12) before you click "Run".
How to display an array in the console.