The length read-only property of the FileList interface returns the number of files in the FileList.
length
FileList
external int get length;