Returns the type (ie text, utf, unicode, etc) of the file
type
var fd = new File("/tmp/blah"); fd.open("read"); console_log(fd.type+"\n");
Javascript
Category: Javascript