Image

Reading text files

Is it possible to open a text file with a javascript and write its contents to an array?

Anyone have the basic code for this?