am a new to this world, i hope you understand.
am working on a code where the user inputs some numbers, i put them in an array, am having trouble accessing that array.
num.push(prompt(enter 3 numbers));
document.write (num); // this prints out.
document.write (num);// i cannot access this array