Method that returns the file extension of the file. The file extension is always lowercase and includes the dot. This method is the equivalent of the function extension()
var myfile = new File("C:/myfile.txt"); var extension = myfile.extension();
This method has no parameters.
|extension|| The extension of the file, such as